#CFAF4B#CFAF4B
#CFAF4B is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.124 H 91.4°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF4B |
|---|---|
| RGB | rgb(207, 175, 75) |
| HSL | hsl(45, 58%, 55%) |
| HSV | hsv(45, 64%, 81%) |
| CMYK | cmyk(0%, 15.5%, 63.8%, 18.8%) |
| CIE-LAB | lab(72.52, 0.30, 54.13) |
| CIE-LCH | lch(72.52, 54.13, 89.68°) |
| OKLab | oklab(76.33% -0.003 0.1237) |
| OKLCH | oklch(76.33% 0.124 91.4) |
| XYZ | xyz(42.3342, 44.4357, 13.0024) |
| Luminance | 0.4443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.56
Mustard
#DBB42C
ΔE00 4.25
Burnt Yellow
#D5AB09
ΔE00 5.21
Sandy Brown
#C4A661
ΔE00 5.48
Tan (survey)
#D1B26F
ΔE00 5.55
Gold (survey)
#DBB40C
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF4B #4B6BCF
analogous
#CF6D4B #CFAF4B #ADCF4B
triadic
#CFAF4B #4BCFAF #AF4BCF
tetradic
#CFAF4B #4BCF6D #4B6BCF #CF4BAD
square
#CFAF4B #4BCF6D #4B6BCF #CF4BAD
split-complementary
#CFAF4B #4BADCF #6D4BCF
monochromatic
#7E6822 #AE8F2E #CFAF4B #DCC47B #E9DAAC
Accessibility & contrast
On white
2.12
#CFAF4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CFAF4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF4B
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF4B | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD40
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf4b; /* rgb */ color: rgb(207, 175, 75); /* oklch */ color: oklch(76.3% 0.124 91.4);
Tailwind
colors: {
custom: {
50: '#e1c681',
500: '#cfaf4b',
950: '#000000',
},
}SCSS
$custom: #cfaf4b; $custom-light: #e1c681; $custom-dark: #000000;
JSON
{
"hex": "#cfaf4b",
"rgb": {
"r": 207,
"g": 175,
"b": 75
},
"hsl": {
"h": 45.455,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.76329,
"c": 0.1237,
"h": 91.4
},
"luminance": 0.44433
}Semantic roles & 50–950 ramp
primary
#CFAF4B
secondary
#9FADD6
accent
#6CE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C