#CFAF46#CFAF46
#CFAF46 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.128 H 92.0°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF46 |
|---|---|
| RGB | rgb(207, 175, 70) |
| HSL | hsl(46, 59%, 54%) |
| HSV | hsv(46, 66%, 81%) |
| CMYK | cmyk(0%, 15.5%, 66.2%, 18.8%) |
| CIE-LAB | lab(72.47, -0.01, 56.29) |
| CIE-LCH | lch(72.47, 56.29, 90.01°) |
| OKLab | oklab(76.28% -0.0045 0.1275) |
| OKLCH | oklch(76.28% 0.128 92) |
| XYZ | xyz(42.1697, 44.3699, 12.1362) |
| Luminance | 0.4437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.75
Desert
#CCAD60
ΔE00 4.20
Burnt Yellow
#D5AB09
ΔE00 4.70
Gold (survey)
#DBB40C
ΔE00 5.14
Brownish Yellow
#C9B003
ΔE00 5.33
Dark Yellow
#D5B60A
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF46 #4666CF
analogous
#CF6B46 #CFAF46 #ABCF46
triadic
#CFAF46 #46CFAF #AF46CF
tetradic
#CFAF46 #46CF6B #4666CF #CF46AB
square
#CFAF46 #46CF6B #4666CF #CF46AB
split-complementary
#CFAF46 #46ABCF #6B46CF
monochromatic
#7B6620 #AB8E2C #CFAF46 #DCC477 #E8D9A7
Accessibility & contrast
On white
2.13
#CFAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#CFAF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF46
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF46 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC39
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf46; /* rgb */ color: rgb(207, 175, 70); /* oklch */ color: oklch(76.3% 0.128 92.0);
Tailwind
colors: {
custom: {
50: '#e1c67e',
500: '#cfaf46',
950: '#000000',
},
}SCSS
$custom: #cfaf46; $custom-light: #e1c67e; $custom-dark: #000000;
JSON
{
"hex": "#cfaf46",
"rgb": {
"r": 207,
"g": 175,
"b": 70
},
"hsl": {
"h": 45.985,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.7628,
"c": 0.12756,
"h": 92
},
"luminance": 0.44368
}Semantic roles & 50–950 ramp
primary
#CFAF46
secondary
#9BA9D5
accent
#6AE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C