#CFC075#CFC075
#CFC075 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.097 H 98.3°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC075 |
|---|---|
| RGB | rgb(207, 192, 117) |
| HSL | hsl(50, 48%, 64%) |
| HSV | hsv(50, 43%, 81%) |
| CMYK | cmyk(0%, 7.2%, 43.5%, 18.8%) |
| CIE-LAB | lab(77.43, -5.12, 39.62) |
| CIE-LCH | lch(77.43, 39.95, 97.36°) |
| OKLab | oklab(80.37% -0.014 0.0961) |
| OKLCH | oklch(80.37% 0.097 98.3) |
| XYZ | xyz(47.7938, 52.2506, 24.3940) |
| Luminance | 0.5225 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.92
Sand (survey)
#E2CA76
ΔE00 4.04
Tan (survey)
#D1B26F
ΔE00 6.13
Sand
#C2B280
ΔE00 6.14
Desert
#CCAD60
ΔE00 6.52
Sandstone
#C9AE74
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC075 #7584CF
analogous
#CF9375 #CFC075 #B1CF75
triadic
#CFC075 #75CFC0 #C075CF
tetradic
#CFC075 #75CF93 #7584CF #CF75B1
square
#CFC075 #75CF93 #7584CF #CF75B1
split-complementary
#CFC075 #75B1CF #9375CF
monochromatic
#968534 #BFAB48 #CFC075 #DFD5A2 #EFE9D0
Accessibility & contrast
On white
1.83
#CFC075 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#CFC075 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC075
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC075 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC075 | 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)
#CDBC6F
Deuteranopia (green-blind)
#D2C278
Tritanopia (blue-blind)
#DBB6AE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc075; /* rgb */ color: rgb(207, 192, 117); /* oklch */ color: oklch(80.4% 0.097 98.3);
Tailwind
colors: {
custom: {
50: '#dfd29e',
500: '#cfc075',
950: '#000000',
},
}SCSS
$custom: #cfc075; $custom-light: #dfd29e; $custom-dark: #000000;
JSON
{
"hex": "#cfc075",
"rgb": {
"r": 207,
"g": 192,
"b": 117
},
"hsl": {
"h": 50,
"s": 48.387,
"l": 63.529
},
"oklch": {
"l": 0.80368,
"c": 0.09706,
"h": 98.3
},
"luminance": 0.52249
}Semantic roles & 50–950 ramp
primary
#CFC075
secondary
#4D5A9B
accent
#42BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F