#CFA931#CFA931
#CFA931 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.9% C 0.138 H 90.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CFA931 |
|---|---|
| RGB | rgb(207, 169, 49) |
| HSL | hsl(46, 62%, 50%) |
| HSV | hsv(46, 76%, 81%) |
| CMYK | cmyk(0%, 18.4%, 76.3%, 18.8%) |
| CIE-LAB | lab(70.78, 2.13, 62.97) |
| CIE-LCH | lch(70.78, 63.01, 88.06°) |
| OKLab | oklab(74.89% -0.0008 0.1378) |
| OKLCH | oklch(74.89% 0.138 90.3) |
| XYZ | xyz(40.4769, 41.8657, 8.8541) |
| Luminance | 0.4186 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 2.71
Mustard
#DBB42C
ΔE00 3.36
Yellow Ochre
#CB9D06
ΔE00 3.94
Ocre
#C69C04
ΔE00 3.99
Goldenrod
#DAA520
ΔE00 4.04
Gold (survey)
#DBB40C
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFA931 #3157CF
analogous
#CF5A31 #CFA931 #A6CF31
triadic
#CFA931 #31CFA9 #A931CF
tetradic
#CFA931 #31CF5A #3157CF #CF31A6
square
#CFA931 #31CF5A #3157CF #CF31A6
split-complementary
#CFA931 #31A6CF #5A31CF
monochromatic
#6C5819 #9E8125 #CFA931 #DBBE63 #E6D294
Accessibility & contrast
On white
2.24
#CFA931 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#CFA931 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFA931
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFA931 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFA931 | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA71B
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#E09A92
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cfa931; /* rgb */ color: rgb(207, 169, 49); /* oklch */ color: oklch(74.9% 0.138 90.3);
Tailwind
colors: {
custom: {
50: '#e2c272',
500: '#cfa931',
950: '#000000',
},
}SCSS
$custom: #cfa931; $custom-light: #e2c272; $custom-dark: #000000;
JSON
{
"hex": "#cfa931",
"rgb": {
"r": 207,
"g": 169,
"b": 49
},
"hsl": {
"h": 45.57,
"s": 62.205,
"l": 50.196
},
"oklch": {
"l": 0.74894,
"c": 0.13779,
"h": 90.3
},
"luminance": 0.41863
}Semantic roles & 50–950 ramp
primary
#CFA931
secondary
#8B9CD1
accent
#6AE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B