#CFAB36#CFAB36
#CFAB36 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.136 H 91.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAB36 |
|---|---|
| RGB | rgb(207, 171, 54) |
| HSL | hsl(46, 61%, 51%) |
| HSV | hsv(46, 74%, 81%) |
| CMYK | cmyk(0%, 17.4%, 73.9%, 18.8%) |
| CIE-LAB | lab(71.32, 1.28, 61.65) |
| CIE-LCH | lch(71.32, 61.66, 88.81°) |
| OKLab | oklab(75.33% -0.0027 0.136) |
| OKLCH | oklch(75.33% 0.136 91.1) |
| XYZ | xyz(40.9632, 42.6601, 9.5660) |
| Luminance | 0.4266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.05
Mustard
#DBB42C
ΔE00 3.13
Gold (survey)
#DBB40C
ΔE00 4.25
Ocre
#C69C04
ΔE00 4.65
Goldenrod
#DAA520
ΔE00 4.67
Yellow Ochre
#CB9D06
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAB36 #365ACF
analogous
#CF5E36 #CFAB36 #A7CF36
triadic
#CFAB36 #36CFAB #AB36CF
tetradic
#CFAB36 #36CF5E #365ACF #CF36A7
square
#CFAB36 #36CF5E #365ACF #CF36A7
split-complementary
#CFAB36 #36A7CF #5E36CF
monochromatic
#705C1B #A18427 #CFAB36 #DBC067 #E7D499
Accessibility & contrast
On white
2.20
#CFAB36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#CFAB36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAB36
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAB36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAB36 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA923
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#E09D94
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfab36; /* rgb */ color: rgb(207, 171, 54); /* oklch */ color: oklch(75.3% 0.136 91.1);
Tailwind
colors: {
custom: {
50: '#e2c375',
500: '#cfab36',
950: '#000000',
},
}SCSS
$custom: #cfab36; $custom-light: #e2c375; $custom-dark: #000000;
JSON
{
"hex": "#cfab36",
"rgb": {
"r": 207,
"g": 171,
"b": 54
},
"hsl": {
"h": 45.882,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.75334,
"c": 0.13601,
"h": 91.1
},
"luminance": 0.42658
}Semantic roles & 50–950 ramp
primary
#CFAB36
secondary
#8F9FD2
accent
#69E543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B