#CFC277#CFC277
#CFC277 is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.097 H 99.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC277 |
|---|---|
| RGB | rgb(207, 194, 119) |
| HSL | hsl(51, 48%, 64%) |
| HSV | hsv(51, 43%, 81%) |
| CMYK | cmyk(0%, 6.3%, 42.5%, 18.8%) |
| CIE-LAB | lab(77.98, -5.95, 39.30) |
| CIE-LCH | lch(77.98, 39.75, 98.60°) |
| OKLab | oklab(80.81% -0.0162 0.0954) |
| OKLCH | oklch(80.81% 0.097 99.6) |
| XYZ | xyz(48.3548, 53.1824, 25.1673) |
| Luminance | 0.5318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.87
Sand (survey)
#E2CA76
ΔE00 4.19
Sand
#C2B280
ΔE00 6.47
Greenish Beige
#C9D179
ΔE00 6.58
Tan (survey)
#D1B26F
ΔE00 6.83
Desert
#CCAD60
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC277 #7784CF
analogous
#CF9677 #CFC277 #B0CF77
triadic
#CFC277 #77CFC2 #C277CF
tetradic
#CFC277 #77CF96 #7784CF #CF77B0
square
#CFC277 #77CF96 #7784CF #CF77B0
split-complementary
#CFC277 #77B0CF #9677CF
monochromatic
#968835 #BFAE4A #CFC277 #DFD6A4 #EFEBD1
Accessibility & contrast
On white
1.80
#CFC277 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.64
#CFC277 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC277
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC277 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC277 | 1.00 | 1.80 | 11.64 | 11.64 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBE71
Deuteranopia (green-blind)
#D3C37A
Tritanopia (blue-blind)
#DBB8B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc277; /* rgb */ color: rgb(207, 194, 119); /* oklch */ color: oklch(80.8% 0.097 99.6);
Tailwind
colors: {
custom: {
50: '#dfd49f',
500: '#cfc277',
950: '#000000',
},
}SCSS
$custom: #cfc277; $custom-light: #dfd49f; $custom-dark: #000000;
JSON
{
"hex": "#cfc277",
"rgb": {
"r": 207,
"g": 194,
"b": 119
},
"hsl": {
"h": 51.136,
"s": 47.826,
"l": 63.922
},
"oklch": {
"l": 0.80814,
"c": 0.09681,
"h": 99.6
},
"luminance": 0.53181
}Semantic roles & 50–950 ramp
primary
#CFC277
secondary
#4E599C
accent
#40BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F