#CFC15B#CFC15B
#CFC15B is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.124 H 101.6°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC15B |
|---|---|
| RGB | rgb(207, 193, 91) |
| HSL | hsl(53, 55%, 58%) |
| HSV | hsv(53, 56%, 81%) |
| CMYK | cmyk(0%, 6.8%, 56%, 18.8%) |
| CIE-LAB | lab(77.38, -7.97, 52.25) |
| CIE-LCH | lch(77.38, 52.85, 98.67°) |
| OKLab | oklab(80.22% -0.0249 0.1217) |
| OKLCH | oklch(80.22% 0.124 101.6) |
| XYZ | xyz(46.6920, 52.1624, 17.5043) |
| Luminance | 0.5216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.00
Darkkhaki
#BDB76B
ΔE00 5.42
Olive Yellow
#C2B709
ΔE00 6.45
Mustard Yellow
#D2BD0A
ΔE00 6.47
Vomit Yellow
#C7C10C
ΔE00 6.48
Puke Yellow
#C2BE0E
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC15B #5B69CF
analogous
#CF875B #CFC15B #A3CF5B
triadic
#CFC15B #5BCFC1 #C15BCF
tetradic
#CFC15B #5BCF87 #5B69CF #CF5BA3
square
#CFC15B #5BCF87 #5B69CF #CF5BA3
split-complementary
#CFC15B #5BA3CF #875BCF
monochromatic
#887C28 #B7A836 #CFC15B #DDD38A #EBE5BA
Accessibility & contrast
On white
1.84
#CFC15B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#CFC15B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC15B
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC15B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC15B | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC51
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc15b; /* rgb */ color: rgb(207, 193, 91); /* oklch */ color: oklch(80.2% 0.124 101.6);
Tailwind
colors: {
custom: {
50: '#e0d38d',
500: '#cfc15b',
950: '#000000',
},
}SCSS
$custom: #cfc15b; $custom-light: #e0d38d; $custom-dark: #000000;
JSON
{
"hex": "#cfc15b",
"rgb": {
"r": 207,
"g": 193,
"b": 91
},
"hsl": {
"h": 52.759,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.80224,
"c": 0.12421,
"h": 101.6
},
"luminance": 0.52161
}Semantic roles & 50–950 ramp
primary
#CFC15B
secondary
#40498F
accent
#5CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F