#CFAF51#CFAF51
#CFAF51 is a light, moderate orange. Relative luminance 0.445; OKLCH L 76.4% C 0.119 H 90.5°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF51 |
|---|---|
| RGB | rgb(207, 175, 81) |
| HSL | hsl(45, 57%, 56%) |
| HSV | hsv(45, 61%, 81%) |
| CMYK | cmyk(0%, 15.5%, 60.9%, 18.8%) |
| CIE-LAB | lab(72.58, 0.70, 51.45) |
| CIE-LCH | lch(72.58, 51.45, 89.22°) |
| OKLab | oklab(76.39% -0.0011 0.1188) |
| OKLCH | oklch(76.39% 0.119 90.5) |
| XYZ | xyz(42.5493, 44.5217, 14.1354) |
| Luminance | 0.4452 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Desert
#CCAD60
ΔE00 2.74
Tan (survey)
#D1B26F
ΔE00 4.73
Sandy Brown
#C4A661
ΔE00 4.76
Mustard
#DBB42C
ΔE00 4.94
Sand Brown
#CBA560
ΔE00 5.60
Burnt Yellow
#D5AB09
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF51 #5171CF
analogous
#CF7051 #CFAF51 #B0CF51
triadic
#CFAF51 #51CFAF #AF51CF
tetradic
#CFAF51 #51CF70 #5171CF #CF51B0
square
#CFAF51 #51CF70 #5171CF #CF51B0
split-complementary
#CFAF51 #51B0CF #7051CF
monochromatic
#826A24 #B29131 #CFAF51 #DCC581 #E9DBB1
Accessibility & contrast
On white
2.12
#CFAF51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#CFAF51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF51
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF51 | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AD47
Deuteranopia (green-blind)
#C8B655
Tritanopia (blue-blind)
#DFA29A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf51; /* rgb */ color: rgb(207, 175, 81); /* oklch */ color: oklch(76.4% 0.119 90.5);
Tailwind
colors: {
custom: {
50: '#e1c685',
500: '#cfaf51',
950: '#000000',
},
}SCSS
$custom: #cfaf51; $custom-light: #e1c685; $custom-dark: #000000;
JSON
{
"hex": "#cfaf51",
"rgb": {
"r": 207,
"g": 175,
"b": 81
},
"hsl": {
"h": 44.762,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.76392,
"c": 0.11877,
"h": 90.5
},
"luminance": 0.44519
}Semantic roles & 50–950 ramp
primary
#CFAF51
secondary
#A4B1D8
accent
#6EE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C