#CFAF3C#CFAF3C
#CFAF3C is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.135 H 93.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF3C |
|---|---|
| RGB | rgb(207, 175, 60) |
| HSL | hsl(47, 60%, 52%) |
| HSV | hsv(47, 71%, 81%) |
| CMYK | cmyk(0%, 15.5%, 71%, 18.8%) |
| CIE-LAB | lab(72.40, -0.55, 60.38) |
| CIE-LCH | lch(72.40, 60.38, 90.52°) |
| OKLab | oklab(76.2% -0.0072 0.1344) |
| OKLCH | oklch(76.2% 0.135 93.1) |
| XYZ | xyz(41.8799, 44.2540, 10.6101) |
| Luminance | 0.4425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.00
Burnt Yellow
#D5AB09
ΔE00 3.84
Gold (survey)
#DBB40C
ΔE00 4.17
Brownish Yellow
#C9B003
ΔE00 4.23
Dark Yellow
#D5B60A
ΔE00 4.27
Mustard (survey)
#CEB301
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF3C #3C5CCF
analogous
#CF663C #CFAF3C #A5CF3C
triadic
#CFAF3C #3CCFAF #AF3CCF
tetradic
#CFAF3C #3CCF66 #3C5CCF #CF3CA5
square
#CFAF3C #3CCF66 #3C5CCF #CF3CA5
split-complementary
#CFAF3C #3CA5CF #663CCF
monochromatic
#74611D #A58A29 #CFAF3C #DBC36D #E7D79E
Accessibility & contrast
On white
2.13
#CFAF3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#CFAF3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF3C
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF3C | 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)
#C2AC2B
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#E0A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf3c; /* rgb */ color: rgb(207, 175, 60); /* oklch */ color: oklch(76.2% 0.135 93.1);
Tailwind
colors: {
custom: {
50: '#e2c679',
500: '#cfaf3c',
950: '#000000',
},
}SCSS
$custom: #cfaf3c; $custom-light: #e2c679; $custom-dark: #000000;
JSON
{
"hex": "#cfaf3c",
"rgb": {
"r": 207,
"g": 175,
"b": 60
},
"hsl": {
"h": 46.939,
"s": 60.494,
"l": 52.353
},
"oklch": {
"l": 0.76195,
"c": 0.13462,
"h": 93.1
},
"luminance": 0.44252
}Semantic roles & 50–950 ramp
primary
#CFAF3C
secondary
#93A1D3
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B