#CFAF3B#CFAF3B
#CFAF3B is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.135 H 93.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF3B |
|---|---|
| RGB | rgb(207, 175, 59) |
| HSL | hsl(47, 61%, 52%) |
| HSV | hsv(47, 71%, 81%) |
| CMYK | cmyk(0%, 15.5%, 71.5%, 18.8%) |
| CIE-LAB | lab(72.39, -0.60, 60.76) |
| CIE-LCH | lch(72.39, 60.77, 90.57°) |
| OKLab | oklab(76.19% -0.0075 0.1351) |
| OKLCH | oklch(76.19% 0.135 93.2) |
| XYZ | xyz(41.8537, 44.2435, 10.4722) |
| Luminance | 0.4424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.94
Burnt Yellow
#D5AB09
ΔE00 3.77
Gold (survey)
#DBB40C
ΔE00 4.09
Brownish Yellow
#C9B003
ΔE00 4.13
Dark Yellow
#D5B60A
ΔE00 4.17
Mustard (survey)
#CEB301
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF3B #3B5BCF
analogous
#CF653B #CFAF3B #A5CF3B
triadic
#CFAF3B #3BCFAF #AF3BCF
tetradic
#CFAF3B #3BCF65 #3B5BCF #CF3BA5
square
#CFAF3B #3BCF65 #3B5BCF #CF3BA5
split-complementary
#CFAF3B #3BA5CF #653BCF
monochromatic
#73611C #A58A28 #CFAF3B #DBC36C #E7D79D
Accessibility & contrast
On white
2.13
#CFAF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#CFAF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF3B
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF3B | 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)
#C2AC2A
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#E0A198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfaf3b; /* rgb */ color: rgb(207, 175, 59); /* oklch */ color: oklch(76.2% 0.135 93.2);
Tailwind
colors: {
custom: {
50: '#e2c678',
500: '#cfaf3b',
950: '#000000',
},
}SCSS
$custom: #cfaf3b; $custom-light: #e2c678; $custom-dark: #000000;
JSON
{
"hex": "#cfaf3b",
"rgb": {
"r": 207,
"g": 175,
"b": 59
},
"hsl": {
"h": 47.027,
"s": 60.656,
"l": 52.157
},
"oklch": {
"l": 0.76187,
"c": 0.13527,
"h": 93.2
},
"luminance": 0.44241
}Semantic roles & 50–950 ramp
primary
#CFAF3B
secondary
#93A1D3
accent
#67E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B