#CFC15F#CFC15F
#CFC15F is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.121 H 101.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC15F |
|---|---|
| RGB | rgb(207, 193, 95) |
| HSL | hsl(53, 54%, 59%) |
| HSV | hsv(53, 54%, 81%) |
| CMYK | cmyk(0%, 6.8%, 54.1%, 18.8%) |
| CIE-LAB | lab(77.42, -7.65, 50.42) |
| CIE-LCH | lch(77.42, 51.00, 98.63°) |
| OKLab | oklab(80.27% -0.0236 0.1182) |
| OKLCH | oklch(80.27% 0.121 101.3) |
| XYZ | xyz(46.8692, 52.2333, 18.4374) |
| Luminance | 0.5223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.69
Darkkhaki
#BDB76B
ΔE00 5.04
Sandy
#F1DA7A
ΔE00 6.91
Olive Yellow
#C2B709
ΔE00 6.94
Mustard Yellow
#D2BD0A
ΔE00 6.98
Vomit Yellow
#C7C10C
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC15F #5F6DCF
analogous
#CF895F #CFC15F #A5CF5F
triadic
#CFC15F #5FCFC1 #C15FCF
tetradic
#CFC15F #5FCF89 #5F6DCF #CF5FA5
square
#CFC15F #5FCF89 #5F6DCF #CF5FA5
split-complementary
#CFC15F #5FA5CF #895FCF
monochromatic
#8A7E29 #B9A938 #CFC15F #DDD38E #EBE5BD
Accessibility & contrast
On white
1.83
#CFC15F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#CFC15F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC15F
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC15F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC15F | 1.00 | 1.83 | 11.45 | 11.45 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC56
Deuteranopia (green-blind)
#D5C264
Tritanopia (blue-blind)
#DDB5AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc15f; /* rgb */ color: rgb(207, 193, 95); /* oklch */ color: oklch(80.3% 0.121 101.3);
Tailwind
colors: {
custom: {
50: '#e0d38f',
500: '#cfc15f',
950: '#000000',
},
}SCSS
$custom: #cfc15f; $custom-light: #e0d38f; $custom-dark: #000000;
JSON
{
"hex": "#cfc15f",
"rgb": {
"r": 207,
"g": 193,
"b": 95
},
"hsl": {
"h": 52.5,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.80271,
"c": 0.12051,
"h": 101.3
},
"luminance": 0.52232
}Semantic roles & 50–950 ramp
primary
#CFC15F
secondary
#414B91
accent
#5DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F