#CFAF4F#CFAF4F
#CFAF4F is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.4% C 0.120 H 90.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF4F |
|---|---|
| RGB | rgb(207, 175, 79) |
| HSL | hsl(45, 57%, 56%) |
| HSV | hsv(45, 62%, 81%) |
| CMYK | cmyk(0%, 15.5%, 61.8%, 18.8%) |
| CIE-LAB | lab(72.56, 0.56, 52.35) |
| CIE-LCH | lch(72.56, 52.35, 89.39°) |
| OKLab | oklab(76.37% -0.0018 0.1204) |
| OKLCH | oklch(76.37% 0.12 90.8) |
| XYZ | xyz(42.4754, 44.4922, 13.7462) |
| Luminance | 0.4449 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.02
Mustard
#DBB42C
ΔE00 4.70
Sandy Brown
#C4A661
ΔE00 5.00
Tan (survey)
#D1B26F
ΔE00 5.01
Burnt Yellow
#D5AB09
ΔE00 5.67
Sand Brown
#CBA560
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF4F #4F6FCF
analogous
#CF6F4F #CFAF4F #AFCF4F
triadic
#CFAF4F #4FCFAF #AF4FCF
tetradic
#CFAF4F #4FCF6F #4F6FCF #CF4FAF
square
#CFAF4F #4FCF6F #4F6FCF #CF4FAF
split-complementary
#CFAF4F #4FAFCF #6F4FCF
monochromatic
#816923 #B19130 #CFAF4F #DCC57F #E9DBAF
Accessibility & contrast
On white
2.12
#CFAF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.90
#CFAF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF4F
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF4F | 1.00 | 2.12 | 9.90 | 9.90 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD45
Deuteranopia (green-blind)
#C8B653
Tritanopia (blue-blind)
#DFA29A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf4f; /* rgb */ color: rgb(207, 175, 79); /* oklch */ color: oklch(76.4% 0.120 90.8);
Tailwind
colors: {
custom: {
50: '#e1c684',
500: '#cfaf4f',
950: '#000000',
},
}SCSS
$custom: #cfaf4f; $custom-light: #e1c684; $custom-dark: #000000;
JSON
{
"hex": "#cfaf4f",
"rgb": {
"r": 207,
"g": 175,
"b": 79
},
"hsl": {
"h": 45,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.7637,
"c": 0.12044,
"h": 90.8
},
"luminance": 0.4449
}Semantic roles & 50–950 ramp
primary
#CFAF4F
secondary
#A2B0D7
accent
#6EE047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C