CSS named color
Dark Orange #FF8C00
The CSS keyword darkorange is #FF8C00. It is a light vivid orange in the orange family. In OKLCH it sits at lightness 0.751, chroma 0.179 and hue 58.3°.
- Relative luminance
- 0.4002
- OKLCH L · C · h
- 0.751 · 0.179 · 58.3
- Best text
- Black 9.00:1
- Hue family
- Orange
#FF8C00 color codes
- HEX
#FF8C00- RGB
rgb(255, 140, 0)- HSL
hsl(33, 100%, 50%)- OKLCH
oklch(0.751 0.179 58.3)- OKLab
oklab(0.751 0.094 0.152)- CIELAB (D65)
L* 69.49, a* 36.83, b* 75.49- XYZ (D65)
X 50.62, Y 40.02, Z 5.06- CMYK (naive)
cmyk(0%, 45%, 100%, 0%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Legibility
Contrast: is #FF8C00 accessible?
Black text on it reaches 9.00:1, passing AAA. White text fails at 2.33:1.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
9.00:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +58
-
White text on it
2.33:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc −50
-
As text on black
9.00:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −56
-
As text on white
2.33:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc +45
Nearest versions that pass 4.5:1
-
For text on white
#B36000 4.57:1
Darkening its OKLCH lightness from 0.75 to 0.58 reaches 4.57:1 on white, keeping the hue.
-
For text on black
#FF8C00 9.00:1
It already reaches 9.00:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #FF8C00 live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #FF8C00
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #FF8C00 sits at step 400.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #FF8C00 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.179; #FF8C00 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.205 there: 14% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.179
- sRGB edge
- 0.179
- Display P3 edge
- 0.205
- Rec. 2020 edge
- 0.207
- Dominant wavelength
- 588 nm
- Excitation purity
- 85%
- Chromaticity
- x 0.5290, y 0.4182
- This color#FF8C00
- Most vivid in sRGB#FF8C00
- Most vivid in Display P3oklch(0.751 0.205 58.3)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #ff8c00;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.9732 0.5484 0); }
}
Mixing
Mixing #FF8C00
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#FFC680
- OKLab50%#FFC89B
- OKLCH50%#FFCAA1
Black #000000
- sRGB50%#804600
- OKLab50%#633300
- OKLCH50%#633300
Its complement #3EBAFF
- sRGB50%#9FA380
- OKLab50%#B7ACA4
- OKLCH50%#59CA71
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ff8c00, white);
color: color-mix(in oklch, #ff8c00 50%, white);
In use
#FF8C00 in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:19.00:1 Passes
- Link and body-size textText, 4.5:12.33:1 Fails
- Large headingLarge text, 3:12.33:1 Fails
- Icons, borders and focus ringsNon-text, 3:12.33:1 Fails
For text on this page, the nearest shade that passes is #B36000 4.57:1
Dark page
- Button labelText, 4.5:19.00:1 Passes
- Link and body-size textText, 4.5:18.03:1 Passes
- Large headingLarge text, 3:18.03:1 Passes
- Icons, borders and focus ringsNon-text, 3:18.03:1 Passes
Color vision
How #FF8C00 looks with color blindness
Achromatopsia changes it most, ΔE2000 29.1; protanopia changes it least, 24.3.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#AF9900 ΔE2000 24.3
Distinct
Reads as light soft amber
-
Deuteranopia
No working green (medium-wavelength) cones
#CAB400 ΔE2000 25.5
Distinct
Reads as light soft yellow
-
Tritanopia
No working blue (short-wavelength) cones
#FF7177 ΔE2000 28.9
Distinct
Reads as light vivid red
-
Achromatopsia
No cone color vision; lightness only
#AAAAAA ΔE2000 29.1
Distinct
Reads as light gray
Pairing check
Checked against its complement, #3EBAFF. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #FF8C00 · #3EBAFF | 52.6 | Stays distinct |
| Protanopia | #AF9900 · #99BAFF | 53.2 | Stays distinct |
| Deuteranopia | #CAB400 · #7FA8FE | 58.1 | Stays distinct |
| Tritanopia | #FF7177 · #00CCD2 | 59.1 | Stays distinct |
| Achromatopsia | #AAAAAA · #B0B0B0 | 1.7 | Easily confused |
Harmony
Color harmonies for #FF8C00
Its complement is #3EBAFF, a light soft blue, on the cool side of the wheel.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#FF8C00
- Complement#3EBAFF
Complementary
Open in Harmony Studio- −30°#FF8577
- Base#FF8C00
- +30°#D6A700
Analogous
Open in Harmony Studio- Base#FF8C00
- +120°#00CAAF
- +240°#BA98FF
Triadic
Open in Harmony Studio- Base#FF8C00
- +150°#00C4D9
- +210°#8CAAFF
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-darkorange: #ff8c00;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
darkorange: '#ff8c00',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-darkorange: oklch(0.751 0.179 58.3);
}
{
"color": {
"darkorange": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [1, 0.549, 0],
"hex": "#ff8c00"
},
"$description": "CSS named color darkorange"
}
}
}
import SwiftUI
enum Palette {
static let darkorange = Color(.sRGB, red: 1.000, green: 0.549, blue: 0.000, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Darkorange = Color(0xFFFF8C00)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #FF8C00 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.