#CFB151#CFB151
#CFB151 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.120 H 92.0°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB151 |
|---|---|
| RGB | rgb(207, 177, 81) |
| HSL | hsl(46, 57%, 56%) |
| HSV | hsv(46, 61%, 81%) |
| CMYK | cmyk(0%, 14.5%, 60.9%, 18.8%) |
| CIE-LAB | lab(73.09, -0.36, 52.03) |
| CIE-LCH | lch(73.09, 52.03, 90.40°) |
| OKLab | oklab(76.8% -0.0042 0.12) |
| OKLCH | oklch(76.8% 0.12 92) |
| XYZ | xyz(42.9414, 45.3060, 14.2661) |
| Luminance | 0.4530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.24
Mustard
#DBB42C
ΔE00 4.77
Tan (survey)
#D1B26F
ΔE00 5.07
Sandy Brown
#C4A661
ΔE00 5.31
Burnt Yellow
#D5AB09
ΔE00 5.98
Gold (survey)
#DBB40C
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB151 #516FCF
analogous
#CF7251 #CFB151 #AECF51
triadic
#CFB151 #51CFB1 #B151CF
tetradic
#CFB151 #51CF72 #516FCF #CF51AE
square
#CFB151 #51CF72 #516FCF #CF51AE
split-complementary
#CFB151 #51AECF #7251CF
monochromatic
#826B24 #B29331 #CFB151 #DCC781 #E9DCB1
Accessibility & contrast
On white
2.09
#CFB151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#CFB151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB151
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB151 | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#DFA49C
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfb151; /* rgb */ color: rgb(207, 177, 81); /* oklch */ color: oklch(76.8% 0.120 92.0);
Tailwind
colors: {
custom: {
50: '#e1c885',
500: '#cfb151',
950: '#000000',
},
}SCSS
$custom: #cfb151; $custom-light: #e1c885; $custom-dark: #000000;
JSON
{
"hex": "#cfb151",
"rgb": {
"r": 207,
"g": 177,
"b": 81
},
"hsl": {
"h": 45.714,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.768,
"c": 0.12007,
"h": 92
},
"luminance": 0.45304
}Semantic roles & 50–950 ramp
primary
#CFB151
secondary
#A4B0D8
accent
#6CE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C