#CFC15C#CFC15C
#CFC15C is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.123 H 101.5°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC15C |
|---|---|
| RGB | rgb(207, 193, 92) |
| HSL | hsl(53, 55%, 59%) |
| HSV | hsv(53, 56%, 81%) |
| CMYK | cmyk(0%, 6.8%, 55.6%, 18.8%) |
| CIE-LAB | lab(77.39, -7.89, 51.79) |
| CIE-LCH | lch(77.39, 52.39, 98.66°) |
| OKLab | oklab(80.24% -0.0246 0.1208) |
| OKLCH | oklch(80.24% 0.123 101.5) |
| XYZ | xyz(46.7354, 52.1798, 17.7330) |
| Luminance | 0.5218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.92
Darkkhaki
#BDB76B
ΔE00 5.33
Olive Yellow
#C2B709
ΔE00 6.57
Mustard Yellow
#D2BD0A
ΔE00 6.59
Vomit Yellow
#C7C10C
ΔE00 6.61
Puke Yellow
#C2BE0E
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC15C #5C6ACF
analogous
#CF875C #CFC15C #A3CF5C
triadic
#CFC15C #5CCFC1 #C15CCF
tetradic
#CFC15C #5CCF87 #5C6ACF #CF5CA3
square
#CFC15C #5CCF87 #5C6ACF #CF5CA3
split-complementary
#CFC15C #5CA3CF #875CCF
monochromatic
#887D28 #B8A836 #CFC15C #DDD38B #EBE5BB
Accessibility & contrast
On white
1.84
#CFC15C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#CFC15C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC15C
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC15C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC15C | 1.00 | 1.84 | 11.44 | 11.44 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC52
Deuteranopia (green-blind)
#D5C261
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc15c; /* rgb */ color: rgb(207, 193, 92); /* oklch */ color: oklch(80.2% 0.123 101.5);
Tailwind
colors: {
custom: {
50: '#e0d38d',
500: '#cfc15c',
950: '#000000',
},
}SCSS
$custom: #cfc15c; $custom-light: #e0d38d; $custom-dark: #000000;
JSON
{
"hex": "#cfc15c",
"rgb": {
"r": 207,
"g": 193,
"b": 92
},
"hsl": {
"h": 52.696,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.80236,
"c": 0.12329,
"h": 101.5
},
"luminance": 0.52178
}Semantic roles & 50–950 ramp
primary
#CFC15C
secondary
#404A8F
accent
#5CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F