#CFC26F#CFC26F
#CFC26F is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.105 H 100.5°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC26F |
|---|---|
| RGB | rgb(207, 194, 111) |
| HSL | hsl(52, 50%, 62%) |
| HSV | hsv(52, 46%, 81%) |
| CMYK | cmyk(0%, 6.3%, 46.4%, 18.8%) |
| CIE-LAB | lab(77.87, -6.75, 43.19) |
| CIE-LCH | lch(77.87, 43.71, 98.88°) |
| OKLab | oklab(80.69% -0.0193 0.1037) |
| OKLCH | oklch(80.69% 0.105 100.5) |
| XYZ | xyz(47.8944, 52.9982, 22.7426) |
| Luminance | 0.5300 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.94
Sand (survey)
#E2CA76
ΔE00 4.05
Greenish Beige
#C9D179
ΔE00 6.37
Sandy
#F1DA7A
ΔE00 6.91
Tan (survey)
#D1B26F
ΔE00 7.33
Desert
#CCAD60
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC26F #6F7CCF
analogous
#CF926F #CFC26F #ACCF6F
triadic
#CFC26F #6FCFC2 #C26FCF
tetradic
#CFC26F #6FCF92 #6F7CCF #CF6FAC
square
#CFC26F #6FCF92 #6F7CCF #CF6FAC
split-complementary
#CFC26F #6FACCF #926FCF
monochromatic
#938531 #C0AF41 #CFC26F #DED59D #EEE9CB
Accessibility & contrast
On white
1.81
#CFC26F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#CFC26F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC26F
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC26F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC26F | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD68
Deuteranopia (green-blind)
#D4C372
Tritanopia (blue-blind)
#DCB8AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc26f; /* rgb */ color: rgb(207, 194, 111); /* oklch */ color: oklch(80.7% 0.105 100.5);
Tailwind
colors: {
custom: {
50: '#dfd49a',
500: '#cfc26f',
950: '#000000',
},
}SCSS
$custom: #cfc26f; $custom-light: #dfd49a; $custom-dark: #000000;
JSON
{
"hex": "#cfc26f",
"rgb": {
"r": 207,
"g": 194,
"b": 111
},
"hsl": {
"h": 51.875,
"s": 50,
"l": 62.353
},
"oklch": {
"l": 0.80693,
"c": 0.10545,
"h": 100.5
},
"luminance": 0.52997
}Semantic roles & 50–950 ramp
primary
#CFC26F
secondary
#4A5499
accent
#3CBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F