#CFC75C#CFC75C
#CFC75C is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.129 H 105.0°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC75C |
|---|---|
| RGB | rgb(207, 199, 92) |
| HSL | hsl(56, 55%, 59%) |
| HSV | hsv(56, 56%, 81%) |
| CMYK | cmyk(0%, 3.9%, 55.6%, 18.8%) |
| CIE-LAB | lab(78.98, -10.96, 53.61) |
| CIE-LCH | lch(78.98, 54.72, 101.55°) |
| OKLab | oklab(81.5% -0.0334 0.1247) |
| OKLCH | oklch(81.5% 0.129 105) |
| XYZ | xyz(48.0888, 54.8865, 18.1842) |
| Luminance | 0.5488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.79
Sand (survey)
#E2CA76
ΔE00 5.97
Vomit Yellow
#C7C10C
ΔE00 6.03
Puke Yellow
#C2BE0E
ΔE00 6.13
Dirty Yellow
#CDC50A
ΔE00 6.13
Darkkhaki
#BDB76B
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC75C #5C64CF
analogous
#CF8D5C #CFC75C #9DCF5C
triadic
#CFC75C #5CCFC7 #C75CCF
tetradic
#CFC75C #5CCF8D #5C64CF #CF5C9D
square
#CFC75C #5CCF8D #5C64CF #CF5C9D
split-complementary
#CFC75C #5C9DCF #8D5CCF
monochromatic
#888228 #B8AF36 #CFC75C #DDD78B #EBE7BB
Accessibility & contrast
On white
1.75
#CFC75C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.98
#CFC75C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC75C
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC75C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC75C | 1.00 | 1.75 | 11.98 | 11.98 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C151
Deuteranopia (green-blind)
#D9C662
Tritanopia (blue-blind)
#DDBBAF
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cfc75c; /* rgb */ color: rgb(207, 199, 92); /* oklch */ color: oklch(81.5% 0.129 105.0);
Tailwind
colors: {
custom: {
50: '#e0d78d',
500: '#cfc75c',
950: '#000000',
},
}SCSS
$custom: #cfc75c; $custom-light: #e0d78d; $custom-dark: #000000;
JSON
{
"hex": "#cfc75c",
"rgb": {
"r": 207,
"g": 199,
"b": 92
},
"hsl": {
"h": 55.826,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.81497,
"c": 0.12912,
"h": 105
},
"luminance": 0.54885
}Semantic roles & 50–950 ramp
primary
#CFC75C
secondary
#40468F
accent
#54DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F