#CFAF3E#CFAF3E
#CFAF3E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.133 H 92.9°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF3E |
|---|---|
| RGB | rgb(207, 175, 62) |
| HSL | hsl(47, 60%, 53%) |
| HSV | hsv(47, 70%, 81%) |
| CMYK | cmyk(0%, 15.5%, 70%, 18.8%) |
| CIE-LAB | lab(72.41, -0.45, 59.59) |
| CIE-LCH | lch(72.41, 59.59, 90.43°) |
| OKLab | oklab(76.21% -0.0067 0.1331) |
| OKLCH | oklch(76.21% 0.133 92.9) |
| XYZ | xyz(41.9338, 44.2755, 10.8938) |
| Luminance | 0.4427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.12
Burnt Yellow
#D5AB09
ΔE00 3.99
Gold (survey)
#DBB40C
ΔE00 4.35
Brownish Yellow
#C9B003
ΔE00 4.44
Dark Yellow
#D5B60A
ΔE00 4.47
Mustard (survey)
#CEB301
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF3E #3E5ECF
analogous
#CF673E #CFAF3E #A6CF3E
triadic
#CFAF3E #3ECFAF #AF3ECF
tetradic
#CFAF3E #3ECF67 #3E5ECF #CF3EA6
square
#CFAF3E #3ECF67 #3E5ECF #CF3EA6
split-complementary
#CFAF3E #3EA6CF #673ECF
monochromatic
#75621D #A68B29 #CFAF3E #DBC36F #E7D8A0
Accessibility & contrast
On white
2.13
#CFAF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#CFAF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF3E
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF3E | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC2E
Deuteranopia (green-blind)
#C9B644
Tritanopia (blue-blind)
#E0A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf3e; /* rgb */ color: rgb(207, 175, 62); /* oklch */ color: oklch(76.2% 0.133 92.9);
Tailwind
colors: {
custom: {
50: '#e2c67a',
500: '#cfaf3e',
950: '#000000',
},
}SCSS
$custom: #cfaf3e; $custom-light: #e2c67a; $custom-dark: #000000;
JSON
{
"hex": "#cfaf3e",
"rgb": {
"r": 207,
"g": 175,
"b": 62
},
"hsl": {
"h": 46.759,
"s": 60.166,
"l": 52.745
},
"oklch": {
"l": 0.76211,
"c": 0.13328,
"h": 92.9
},
"luminance": 0.44273
}Semantic roles & 50–950 ramp
primary
#CFAF3E
secondary
#95A3D4
accent
#68E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C