#CFAB3B#CFAB3B
#CFAB3B is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.4% C 0.133 H 90.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAB3B |
|---|---|
| RGB | rgb(207, 171, 59) |
| HSL | hsl(45, 61%, 52%) |
| HSV | hsv(45, 71%, 81%) |
| CMYK | cmyk(0%, 17.4%, 71.5%, 18.8%) |
| CIE-LAB | lab(71.36, 1.52, 59.73) |
| CIE-LCH | lch(71.36, 59.75, 88.55°) |
| OKLab | oklab(75.37% -0.0014 0.1329) |
| OKLCH | oklch(75.37% 0.133 90.6) |
| XYZ | xyz(41.0867, 42.7095, 10.2165) |
| Luminance | 0.4271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.43
Burnt Yellow
#D5AB09
ΔE00 3.51
Gold (survey)
#DBB40C
ΔE00 4.67
Goldenrod
#DAA520
ΔE00 4.71
Yellow Ochre
#CB9D06
ΔE00 4.85
Ocre
#C69C04
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAB3B #3B5FCF
analogous
#CF613B #CFAB3B #A9CF3B
triadic
#CFAB3B #3BCFAB #AB3BCF
tetradic
#CFAB3B #3BCF61 #3B5FCF #CF3BA9
square
#CFAB3B #3BCF61 #3B5FCF #CF3BA9
split-complementary
#CFAB3B #3BA9CF #613BCF
monochromatic
#735E1C #A58628 #CFAB3B #DBC06C #E7D59D
Accessibility & contrast
On white
2.20
#CFAB3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#CFAB3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAB3B
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAB3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAB3B | 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)
#BEA92B
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#E09D94
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfab3b; /* rgb */ color: rgb(207, 171, 59); /* oklch */ color: oklch(75.4% 0.133 90.6);
Tailwind
colors: {
custom: {
50: '#e2c378',
500: '#cfab3b',
950: '#000000',
},
}SCSS
$custom: #cfab3b; $custom-light: #e2c378; $custom-dark: #000000;
JSON
{
"hex": "#cfab3b",
"rgb": {
"r": 207,
"g": 171,
"b": 59
},
"hsl": {
"h": 45.405,
"s": 60.656,
"l": 52.157
},
"oklch": {
"l": 0.75371,
"c": 0.13288,
"h": 90.6
},
"luminance": 0.42707
}Semantic roles & 50–950 ramp
primary
#CFAB3B
secondary
#93A2D3
accent
#6BE444
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B