#CFC064#CFC064
#CFC064 is a light, moderate yellow. Relative luminance 0.519; OKLCH L 80.1% C 0.115 H 100.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC064 |
|---|---|
| RGB | rgb(207, 192, 100) |
| HSL | hsl(52, 53%, 60%) |
| HSV | hsv(52, 52%, 81%) |
| CMYK | cmyk(0%, 7.2%, 51.7%, 18.8%) |
| CIE-LAB | lab(77.21, -6.72, 47.79) |
| CIE-LCH | lch(77.21, 48.26, 98.00°) |
| OKLab | oklab(80.13% -0.0203 0.1129) |
| OKLCH | oklch(80.13% 0.115 100.2) |
| XYZ | xyz(46.8835, 51.8865, 19.5996) |
| Luminance | 0.5189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.25
Darkkhaki
#BDB76B
ΔE00 4.55
Sandy
#F1DA7A
ΔE00 6.95
Desert
#CCAD60
ΔE00 7.04
Greenish Beige
#C9D179
ΔE00 7.20
Tan (survey)
#D1B26F
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC064 #6473CF
analogous
#CF8B64 #CFC064 #A8CF64
triadic
#CFC064 #64CFC0 #C064CF
tetradic
#CFC064 #64CF8B #6473CF #CF64A8
square
#CFC064 #64CF8B #6473CF #CF64A8
split-complementary
#CFC064 #64A8CF #8B64CF
monochromatic
#8D7F2C #BCAA3A #CFC064 #DDD393 #ECE6C1
Accessibility & contrast
On white
1.85
#CFC064 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#CFC064 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC064
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC064 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC064 | 1.00 | 1.85 | 11.38 | 11.38 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBB5C
Deuteranopia (green-blind)
#D3C168
Tritanopia (blue-blind)
#DDB5AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc064; /* rgb */ color: rgb(207, 192, 100); /* oklch */ color: oklch(80.1% 0.115 100.2);
Tailwind
colors: {
custom: {
50: '#e0d292',
500: '#cfc064',
950: '#000000',
},
}SCSS
$custom: #cfc064; $custom-light: #e0d292; $custom-dark: #000000;
JSON
{
"hex": "#cfc064",
"rgb": {
"r": 207,
"g": 192,
"b": 100
},
"hsl": {
"h": 51.589,
"s": 52.709,
"l": 60.196
},
"oklch": {
"l": 0.80125,
"c": 0.11475,
"h": 100.2
},
"luminance": 0.51885
}Semantic roles & 50–950 ramp
primary
#CFC064
secondary
#444F93
accent
#3BC025
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F