#CFC27F#CFC27F
#CFC27F is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.088 H 98.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC27F |
|---|---|
| RGB | rgb(207, 194, 127) |
| HSL | hsl(50, 45%, 65%) |
| HSV | hsv(50, 39%, 81%) |
| CMYK | cmyk(0%, 6.3%, 38.6%, 18.8%) |
| CIE-LAB | lab(78.10, -5.08, 35.36) |
| CIE-LCH | lch(78.10, 35.72, 98.18°) |
| OKLab | oklab(80.95% -0.0131 0.0868) |
| OKLCH | oklch(80.95% 0.088 98.6) |
| XYZ | xyz(48.8556, 53.3827, 27.8049) |
| Luminance | 0.5338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.35
Sand (survey)
#E2CA76
ΔE00 4.79
Sand
#C2B280
ΔE00 5.44
Tan (survey)
#D1B26F
ΔE00 6.56
Sandstone
#C9AE74
ΔE00 6.84
Beige (survey)
#E6DAA6
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC27F #7F8CCF
analogous
#CF9A7F #CFC27F #B4CF7F
triadic
#CFC27F #7FCFC2 #C27FCF
tetradic
#CFC27F #7FCF9A #7F8CCF #CF7FB4
square
#CFC27F #7FCF9A #7F8CCF #CF7FB4
split-complementary
#CFC27F #7FB4CF #9A7FCF
monochromatic
#9A8A3A #BEAD52 #CFC27F #E0D7AC #F0ECD8
Accessibility & contrast
On white
1.80
#CFC27F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#CFC27F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC27F
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC27F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC27F | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBE7A
Deuteranopia (green-blind)
#D2C382
Tritanopia (blue-blind)
#DAB9B1
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cfc27f; /* rgb */ color: rgb(207, 194, 127); /* oklch */ color: oklch(80.9% 0.088 98.6);
Tailwind
colors: {
custom: {
50: '#dfd4a5',
500: '#cfc27f',
950: '#000000',
},
}SCSS
$custom: #cfc27f; $custom-light: #dfd4a5; $custom-dark: #000000;
JSON
{
"hex": "#cfc27f",
"rgb": {
"r": 207,
"g": 194,
"b": 127
},
"hsl": {
"h": 50.25,
"s": 45.455,
"l": 65.49
},
"oklch": {
"l": 0.80946,
"c": 0.08781,
"h": 98.6
},
"luminance": 0.53381
}Semantic roles & 50–950 ramp
primary
#CFC27F
secondary
#535FA0
accent
#44B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380