#CFAB3A#CFAB3A
#CFAB3A is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.4% C 0.134 H 90.7°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAB3A |
|---|---|
| RGB | rgb(207, 171, 58) |
| HSL | hsl(46, 61%, 52%) |
| HSV | hsv(46, 72%, 81%) |
| CMYK | cmyk(0%, 17.4%, 72%, 18.8%) |
| CIE-LAB | lab(71.35, 1.47, 60.13) |
| CIE-LCH | lch(71.35, 60.14, 88.60°) |
| OKLab | oklab(75.36% -0.0017 0.1335) |
| OKLCH | oklch(75.36% 0.134 90.7) |
| XYZ | xyz(41.0610, 42.6992, 10.0812) |
| Luminance | 0.4270 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.37
Burnt Yellow
#D5AB09
ΔE00 3.41
Gold (survey)
#DBB40C
ΔE00 4.58
Goldenrod
#DAA520
ΔE00 4.69
Yellow Ochre
#CB9D06
ΔE00 4.81
Ocre
#C69C04
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAB3A #3A5ECF
analogous
#CF613A #CFAB3A #A9CF3A
triadic
#CFAB3A #3ACFAB #AB3ACF
tetradic
#CFAB3A #3ACF61 #3A5ECF #CF3AA9
square
#CFAB3A #3ACF61 #3A5ECF #CF3AA9
split-complementary
#CFAB3A #3AA9CF #613ACF
monochromatic
#735E1C #A48628 #CFAB3A #DBC06B #E7D59C
Accessibility & contrast
On white
2.20
#CFAB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#CFAB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAB3A
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAB3A | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#E09D94
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfab3a; /* rgb */ color: rgb(207, 171, 58); /* oklch */ color: oklch(75.4% 0.134 90.7);
Tailwind
colors: {
custom: {
50: '#e2c377',
500: '#cfab3a',
950: '#000000',
},
}SCSS
$custom: #cfab3a; $custom-light: #e2c377; $custom-dark: #000000;
JSON
{
"hex": "#cfab3a",
"rgb": {
"r": 207,
"g": 171,
"b": 58
},
"hsl": {
"h": 45.503,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.75363,
"c": 0.13353,
"h": 90.7
},
"luminance": 0.42697
}Semantic roles & 50–950 ramp
primary
#CFAB3A
secondary
#92A2D3
accent
#6BE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B