#CFAB42#CFAB42
#CFAB42 is a light, vivid orange. Relative luminance 0.428; OKLCH L 75.4% C 0.128 H 89.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAB42 |
|---|---|
| RGB | rgb(207, 171, 66) |
| HSL | hsl(45, 59%, 54%) |
| HSV | hsv(45, 68%, 81%) |
| CMYK | cmyk(0%, 17.4%, 68.1%, 18.8%) |
| CIE-LAB | lab(71.41, 1.88, 56.89) |
| CIE-LCH | lch(71.41, 56.92, 88.10°) |
| OKLab | oklab(75.43% 0.0005 0.1281) |
| OKLCH | oklch(75.43% 0.128 89.8) |
| XYZ | xyz(41.2806, 42.7870, 11.2376) |
| Luminance | 0.4279 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 4.00
Desert
#CCAD60
ΔE00 4.17
Burnt Yellow
#D5AB09
ΔE00 4.25
Goldenrod
#DAA520
ΔE00 4.87
Yellow Ochre
#CB9D06
ΔE00 5.20
Ocre
#C69C04
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAB42 #4266CF
analogous
#CF6442 #CFAB42 #ACCF42
triadic
#CFAB42 #42CFAB #AB42CF
tetradic
#CFAB42 #42CF64 #4266CF #CF42AC
square
#CFAB42 #42CF64 #4266CF #CF42AC
split-complementary
#CFAB42 #42ACCF #6442CF
monochromatic
#78611F #A9892B #CFAB42 #DBC173 #E8D6A4
Accessibility & contrast
On white
2.20
#CFAB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#CFAB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAB42
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAB42 | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA935
Deuteranopia (green-blind)
#C6B347
Tritanopia (blue-blind)
#E09D95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfab42; /* rgb */ color: rgb(207, 171, 66); /* oklch */ color: oklch(75.4% 0.128 89.8);
Tailwind
colors: {
custom: {
50: '#e1c37c',
500: '#cfab42',
950: '#000000',
},
}SCSS
$custom: #cfab42; $custom-light: #e1c37c; $custom-dark: #000000;
JSON
{
"hex": "#cfab42",
"rgb": {
"r": 207,
"g": 171,
"b": 66
},
"hsl": {
"h": 44.681,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.7543,
"c": 0.1281,
"h": 89.8
},
"luminance": 0.42785
}Semantic roles & 50–950 ramp
primary
#CFAB42
secondary
#98A8D5
accent
#6DE345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C