#CFC072#CFC072
#CFC072 is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.100 H 98.7°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC072 |
|---|---|
| RGB | rgb(207, 192, 114) |
| HSL | hsl(50, 49%, 63%) |
| HSV | hsv(50, 45%, 81%) |
| CMYK | cmyk(0%, 7.2%, 44.9%, 18.8%) |
| CIE-LAB | lab(77.39, -5.42, 41.08) |
| CIE-LCH | lch(77.39, 41.44, 97.52°) |
| OKLab | oklab(80.32% -0.0151 0.0992) |
| OKLCH | oklch(80.32% 0.1 98.7) |
| XYZ | xyz(47.6202, 52.1812, 23.4799) |
| Luminance | 0.5218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.88
Sand (survey)
#E2CA76
ΔE00 3.94
Tan (survey)
#D1B26F
ΔE00 6.32
Desert
#CCAD60
ΔE00 6.54
Sand
#C2B280
ΔE00 6.56
Sandstone
#C9AE74
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC072 #7281CF
analogous
#CF9272 #CFC072 #AFCF72
triadic
#CFC072 #72CFC0 #C072CF
tetradic
#CFC072 #72CF92 #7281CF #CF72AF
square
#CFC072 #72CF92 #7281CF #CF72AF
split-complementary
#CFC072 #72AFCF #9272CF
monochromatic
#948432 #BFAC44 #CFC072 #DFD4A0 #EEE9CD
Accessibility & contrast
On white
1.84
#CFC072 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#CFC072 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC072
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC072 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC072 | 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)
#CEBC6C
Deuteranopia (green-blind)
#D2C275
Tritanopia (blue-blind)
#DCB6AD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc072; /* rgb */ color: rgb(207, 192, 114); /* oklch */ color: oklch(80.3% 0.100 98.7);
Tailwind
colors: {
custom: {
50: '#dfd29c',
500: '#cfc072',
950: '#000000',
},
}SCSS
$custom: #cfc072; $custom-light: #dfd29c; $custom-dark: #000000;
JSON
{
"hex": "#cfc072",
"rgb": {
"r": 207,
"g": 192,
"b": 114
},
"hsl": {
"h": 50.323,
"s": 49.206,
"l": 62.941
},
"oklch": {
"l": 0.80322,
"c": 0.10032,
"h": 98.7
},
"luminance": 0.5218
}Semantic roles & 50–950 ramp
primary
#CFC072
secondary
#4B589A
accent
#41BD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F