CSS named color
DarkOrange #FF8C00
DarkOrange (CSS keyword darkorange) has the hex code #FF8C00 and the RGB value rgb(255, 140, 0): a light, vivid orange.
Dark orange (#ff8c00) keeps the red channel at full strength, so it is only slightly darker than orange (#ffa500) and reads as a more intense, reddish orange.
Color codes for DarkOrange
| CSS keyword | darkorange |
|---|---|
| HEX | #FF8C00 |
| RGB | rgb(255, 140, 0) |
| HSL | hsl(33, 100%, 50%) |
| HWB | hwb(33 0% 0%) |
| OKLCH | oklch(75.1% 0.179 58.3) |
| CMYK (naive, no ICC profile) | cmyk(0%, 45%, 100%, 0%) |
| Decimal | 16,747,520 |
| Hue family | Oranges |
Contrast and accessibility
On darkorange, black text has a contrast ratio of 9.00:1 and passes AAA at any text size; white text reaches 2.33:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on darkorange | 9.00:1 | Pass | Pass | Pass | Pass | 58.6 |
| White text on darkorange | 2.33:1 | Fail | Fail | Fail | Fail | −50.3 |
| Darkorange text on white | 2.33:1 | Fail | Fail | Fail | Fail | 45.4 |
| Darkorange text on black | 9.00:1 | Pass | Pass | Pass | Pass | −56.7 |
Tints and shades
Each step mixes darkorange with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, darkorange, white 25%) in CSS.
Tints (mixed with white)
- 5%
#ff920d - 15%
#ff9d26 - 25%
#ffa940 - 35%
#ffb459 - 45%
#ffc073 - 55%
#ffcb8c - 65%
#ffd7a6 - 75%
#ffe2bf - 85%
#ffeed9 - 95%
#fff9f2
Shades (mixed with black)
- 5%
#f28500 - 15%
#d97700 - 25%
#bf6900 - 35%
#a65b00 - 45%
#8c4d00 - 55%
#733f00 - 65%
#593100 - 75%
#402300 - 85%
#261500 - 95%
#0d0700
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, darkorange's complementary color is #00BAFF (close to deepskyblue), its analogous colors are #FF7C6C and #DBA500, and its triadic partners are #00CEAF and #BD92FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #00baff |
| Analogous | −30°, +30° | #ff7c6c#dba500 |
| Triadic | +120°, +240° | #00ceaf#bd92ff |
| Split-complementary | +150°, +210° | #00c7df#86a9ff |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
DarkOrange is a warm color: its hue is 33° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| orange | #ffa500 | 5.7 |
| coral | #ff7f50 | 5.8 |
| sandybrown | #f4a460 | 6.2 |
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| orange-400 | #ff8904 | 0.8 |
| amber-500 | #fd9a00 | 4.3 |
| orange-500 | #ff6900 | 6.7 |
Code snippets
.element {
color: darkorange;
background-color: #ff8c00;
border-color: rgb(255 140 0);
outline-color: oklch(75.1% 0.179 58.3);
}<div class="bg-[#ff8c00] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-darkorange: #ff8c00;
}
/* then use bg-darkorange, text-darkorange, border-darkorange */import SwiftUI
extension Color {
static let darkorange = Color(red: 1.000, green: 0.549, blue: 0.000)
}import androidx.compose.ui.graphics.Color
val Darkorange = Color(0xFFFF8C00)import 'package:flutter/material.dart';
const darkorange = Color(0xFFFF8C00);<!-- res/values/colors.xml -->
<color name="darkorange">#FF8C00</color>Frequently asked questions
- What is the hex code for darkorange?
- The hex code for darkorange is #FF8C00. The same color is rgb(255, 140, 0), hsl(33, 100%, 50%) and oklch(75.1% 0.179 58.3), and in CSS you can also write the keyword darkorange directly.
- Is darkorange a warm or cool color?
- DarkOrange is a warm color: its hue is 33° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
- What colors go with darkorange?
- Rotating the hue in OKLCH while keeping lightness and chroma, darkorange's complementary color is #00BAFF (close to deepskyblue), its analogous colors are #FF7C6C and #DBA500, and its triadic partners are #00CEAF and #BD92FF. For text on top, black gives the higher contrast.
- Can you use white text on darkorange?
- White text on darkorange has a contrast ratio of 2.33:1, which fails AA even for large text under WCAG 2.2. Black text reaches 9.00:1 and passes both AA and AAA. In APCA terms that is Lc −50.3 for white and Lc 58.6 for black.
- What is the RGB value of darkorange?
- DarkOrange is rgb(255, 140, 0): red 255, green 140 and blue 0 on the 0 to 255 scale, or 100.0%, 54.9% and 0.0%. As a decimal integer it is 16747520.
Last reviewed by Arielton Oberek.