#CFC074#CFC074
#CFC074 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.098 H 98.4°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC074 |
|---|---|
| RGB | rgb(207, 192, 116) |
| HSL | hsl(50, 49%, 63%) |
| HSV | hsv(50, 44%, 81%) |
| CMYK | cmyk(0%, 7.2%, 44%, 18.8%) |
| CIE-LAB | lab(77.42, -5.22, 40.11) |
| CIE-LCH | lch(77.42, 40.44, 97.41°) |
| OKLab | oklab(80.35% -0.0144 0.0971) |
| OKLCH | oklch(80.35% 0.098 98.4) |
| XYZ | xyz(47.7353, 52.2272, 24.0860) |
| Luminance | 0.5223 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.90
Sand (survey)
#E2CA76
ΔE00 4.00
Tan (survey)
#D1B26F
ΔE00 6.19
Sand
#C2B280
ΔE00 6.28
Desert
#CCAD60
ΔE00 6.52
Sandstone
#C9AE74
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC074 #7483CF
analogous
#CF9274 #CFC074 #B0CF74
triadic
#CFC074 #74CFC0 #C074CF
tetradic
#CFC074 #74CF92 #7483CF #CF74B0
square
#CFC074 #74CF92 #7483CF #CF74B0
split-complementary
#CFC074 #74B0CF #9274CF
monochromatic
#958533 #BFAB47 #CFC074 #DFD5A1 #EEE9CF
Accessibility & contrast
On white
1.83
#CFC074 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.45
#CFC074 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC074
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC074 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC074 | 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)
#CEBC6E
Deuteranopia (green-blind)
#D2C277
Tritanopia (blue-blind)
#DBB6AD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc074; /* rgb */ color: rgb(207, 192, 116); /* oklch */ color: oklch(80.4% 0.098 98.4);
Tailwind
colors: {
custom: {
50: '#dfd29d',
500: '#cfc074',
950: '#000000',
},
}SCSS
$custom: #cfc074; $custom-light: #dfd29d; $custom-dark: #000000;
JSON
{
"hex": "#cfc074",
"rgb": {
"r": 207,
"g": 192,
"b": 116
},
"hsl": {
"h": 50.11,
"s": 48.663,
"l": 63.333
},
"oklch": {
"l": 0.80352,
"c": 0.09816,
"h": 98.4
},
"luminance": 0.52226
}Semantic roles & 50–950 ramp
primary
#CFC074
secondary
#4C599B
accent
#42BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F