#CFC062#CFC062
#CFC062 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.117 H 100.4°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC062 |
|---|---|
| RGB | rgb(207, 192, 98) |
| HSL | hsl(52, 53%, 60%) |
| HSV | hsv(52, 53%, 81%) |
| CMYK | cmyk(0%, 7.2%, 52.7%, 18.8%) |
| CIE-LAB | lab(77.19, -6.89, 48.72) |
| CIE-LCH | lch(77.19, 49.21, 98.05°) |
| OKLab | oklab(80.1% -0.021 0.1148) |
| OKLCH | oklch(80.1% 0.117 100.4) |
| XYZ | xyz(46.7879, 51.8482, 19.0960) |
| Luminance | 0.5185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.37
Darkkhaki
#BDB76B
ΔE00 4.71
Sandy
#F1DA7A
ΔE00 6.96
Desert
#CCAD60
ΔE00 7.15
Greenish Beige
#C9D179
ΔE00 7.26
Olive Yellow
#C2B709
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC062 #6271CF
analogous
#CF8962 #CFC062 #A8CF62
triadic
#CFC062 #62CFC0 #C062CF
tetradic
#CFC062 #62CF89 #6271CF #CF62A8
square
#CFC062 #62CF89 #6271CF #CF62A8
split-complementary
#CFC062 #62A8CF #8962CF
monochromatic
#8C7E2B #BBA939 #CFC062 #DDD391 #ECE6C0
Accessibility & contrast
On white
1.85
#CFC062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.37
#CFC062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC062
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC062 | 1.00 | 1.85 | 11.37 | 11.37 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D4C166
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc062; /* rgb */ color: rgb(207, 192, 98); /* oklch */ color: oklch(80.1% 0.117 100.4);
Tailwind
colors: {
custom: {
50: '#e0d291',
500: '#cfc062',
950: '#000000',
},
}SCSS
$custom: #cfc062; $custom-light: #e0d291; $custom-dark: #000000;
JSON
{
"hex": "#cfc062",
"rgb": {
"r": 207,
"g": 192,
"b": 98
},
"hsl": {
"h": 51.743,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.801,
"c": 0.1167,
"h": 100.4
},
"luminance": 0.51847
}Semantic roles & 50–950 ramp
primary
#CFC062
secondary
#434E92
accent
#5FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F