#CFAF36#CFAF36
#CFAF36 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.138 H 93.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF36 |
|---|---|
| RGB | rgb(207, 175, 54) |
| HSL | hsl(47, 61%, 51%) |
| HSV | hsv(47, 74%, 81%) |
| CMYK | cmyk(0%, 15.5%, 73.9%, 18.8%) |
| CIE-LAB | lab(72.36, -0.83, 62.65) |
| CIE-LCH | lch(72.36, 62.65, 90.76°) |
| OKLab | oklab(76.15% -0.0087 0.1381) |
| OKLCH | oklch(76.15% 0.138 93.6) |
| XYZ | xyz(41.7302, 44.1941, 9.8216) |
| Luminance | 0.4419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.71
Burnt Yellow
#D5AB09
ΔE00 3.45
Brownish Yellow
#C9B003
ΔE00 3.67
Gold (survey)
#DBB40C
ΔE00 3.70
Mustard (survey)
#CEB301
ΔE00 3.71
Dark Yellow
#D5B60A
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF36 #3656CF
analogous
#CF6236 #CFAF36 #A2CF36
triadic
#CFAF36 #36CFAF #AF36CF
tetradic
#CFAF36 #36CF62 #3656CF #CF36A2
square
#CFAF36 #36CF62 #3656CF #CF36A2
split-complementary
#CFAF36 #36A2CF #6236CF
monochromatic
#705E1B #A18827 #CFAF36 #DBC367 #E7D699
Accessibility & contrast
On white
2.13
#CFAF36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#CFAF36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF36
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF36 | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC22
Deuteranopia (green-blind)
#CAB53D
Tritanopia (blue-blind)
#E0A197
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfaf36; /* rgb */ color: rgb(207, 175, 54); /* oklch */ color: oklch(76.1% 0.138 93.6);
Tailwind
colors: {
custom: {
50: '#e2c675',
500: '#cfaf36',
950: '#000000',
},
}SCSS
$custom: #cfaf36; $custom-light: #e2c675; $custom-dark: #000000;
JSON
{
"hex": "#cfaf36",
"rgb": {
"r": 207,
"g": 175,
"b": 54
},
"hsl": {
"h": 47.451,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.7615,
"c": 0.13838,
"h": 93.6
},
"luminance": 0.44192
}Semantic roles & 50–950 ramp
primary
#CFAF36
secondary
#8F9DD2
accent
#65E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B