#CFAF2A#CFAF2A
#CFAF2A is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.1% C 0.145 H 94.4°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF2A |
|---|---|
| RGB | rgb(207, 175, 42) |
| HSL | hsl(48, 66%, 49%) |
| HSV | hsv(48, 80%, 81%) |
| CMYK | cmyk(0%, 15.5%, 79.7%, 18.8%) |
| CIE-LAB | lab(72.29, -1.30, 66.70) |
| CIE-LCH | lch(72.29, 66.71, 91.12°) |
| OKLab | oklab(76.08% -0.0112 0.1444) |
| OKLCH | oklch(76.08% 0.145 94.4) |
| XYZ | xyz(41.4824, 44.0950, 8.5163) |
| Luminance | 0.4409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.50
Mustard (survey)
#CEB301
ΔE00 2.78
Brownish Yellow
#C9B003
ΔE00 2.79
Dark Yellow
#D5B60A
ΔE00 2.85
Burnt Yellow
#D5AB09
ΔE00 2.96
Gold (survey)
#DBB40C
ΔE00 3.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF2A #2A4ACF
analogous
#CF5D2A #CFAF2A #9DCF2A
triadic
#CFAF2A #2ACFAF #AF2ACF
tetradic
#CFAF2A #2ACF5D #2A4ACF #CF2A9D
square
#CFAF2A #2ACF5D #2A4ACF #CF2A9D
split-complementary
#CFAF2A #2A9DCF #5D2ACF
monochromatic
#695915 #9C8420 #CFAF2A #DDC459 #E8D68C
Accessibility & contrast
On white
2.14
#CFAF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.82
#CFAF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF2A
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF2A | 1.00 | 2.14 | 9.82 | 9.82 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC04
Deuteranopia (green-blind)
#CAB533
Tritanopia (blue-blind)
#E0A096
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfaf2a; /* rgb */ color: rgb(207, 175, 42); /* oklch */ color: oklch(76.1% 0.145 94.4);
Tailwind
colors: {
custom: {
50: '#e2c66f',
500: '#cfaf2a',
950: '#000000',
},
}SCSS
$custom: #cfaf2a; $custom-light: #e2c66f; $custom-dark: #000000;
JSON
{
"hex": "#cfaf2a",
"rgb": {
"r": 207,
"g": 175,
"b": 42
},
"hsl": {
"h": 48.364,
"s": 66.265,
"l": 48.824
},
"oklch": {
"l": 0.76077,
"c": 0.14479,
"h": 94.4
},
"luminance": 0.44093
}Semantic roles & 50–950 ramp
primary
#CFAF2A
secondary
#8392D2
accent
#60E93F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161208
muted
#84817B