#CFAF4A#CFAF4A
#CFAF4A is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.124 H 91.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF4A |
|---|---|
| RGB | rgb(207, 175, 74) |
| HSL | hsl(46, 58%, 55%) |
| HSV | hsv(46, 64%, 81%) |
| CMYK | cmyk(0%, 15.5%, 64.3%, 18.8%) |
| CIE-LAB | lab(72.51, 0.24, 54.57) |
| CIE-LCH | lch(72.51, 54.57, 89.75°) |
| OKLab | oklab(76.32% -0.0033 0.1244) |
| OKLCH | oklch(76.32% 0.124 91.5) |
| XYZ | xyz(42.3002, 44.4221, 12.8235) |
| Luminance | 0.4442 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.69
Mustard
#DBB42C
ΔE00 4.15
Burnt Yellow
#D5AB09
ΔE00 5.11
Gold (survey)
#DBB40C
ΔE00 5.58
Sandy Brown
#C4A661
ΔE00 5.59
Tan (survey)
#D1B26F
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF4A #4A6ACF
analogous
#CF6C4A #CFAF4A #ACCF4A
triadic
#CFAF4A #4ACFAF #AF4ACF
tetradic
#CFAF4A #4ACF6C #4A6ACF #CF4AAC
square
#CFAF4A #4ACF6C #4A6ACF #CF4AAC
split-complementary
#CFAF4A #4AACCF #6C4ACF
monochromatic
#7D6721 #AE8F2E #CFAF4A #DCC47A #E9DAAB
Accessibility & contrast
On white
2.12
#CFAF4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#CFAF4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF4A
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF4A | 1.00 | 2.12 | 9.88 | 9.88 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD3F
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfaf4a; /* rgb */ color: rgb(207, 175, 74); /* oklch */ color: oklch(76.3% 0.124 91.5);
Tailwind
colors: {
custom: {
50: '#e1c681',
500: '#cfaf4a',
950: '#000000',
},
}SCSS
$custom: #cfaf4a; $custom-light: #e1c681; $custom-dark: #000000;
JSON
{
"hex": "#cfaf4a",
"rgb": {
"r": 207,
"g": 175,
"b": 74
},
"hsl": {
"h": 45.564,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.76319,
"c": 0.12448,
"h": 91.5
},
"luminance": 0.4442
}Semantic roles & 50–950 ramp
primary
#CFAF4A
secondary
#9FACD6
accent
#6CE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C