#CCC26E#CCC26E
#CCC26E is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.106 H 102.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CCC26E |
|---|---|
| RGB | rgb(204, 194, 110) |
| HSL | hsl(54, 48%, 62%) |
| HSV | hsv(54, 46%, 80%) |
| CMYK | cmyk(0%, 4.9%, 46.1%, 20%) |
| CIE-LAB | lab(77.61, -8.07, 43.30) |
| CIE-LCH | lch(77.61, 44.04, 100.55°) |
| OKLab | oklab(80.42% -0.023 0.1039) |
| OKLCH | oklch(80.42% 0.106 102.5) |
| XYZ | xyz(47.0092, 52.5482, 22.4154) |
| Luminance | 0.5255 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.49
Sand (survey)
#E2CA76
ΔE00 4.86
Greenish Beige
#C9D179
ΔE00 5.67
Greenish Tan
#BCCB7A
ΔE00 6.97
Sandy
#F1DA7A
ΔE00 7.39
Sand
#C2B280
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCC26E #6E78CC
analogous
#CC936E #CCC26E #A7CC6E
triadic
#CCC26E #6ECCC2 #C26ECC
tetradic
#CCC26E #6ECC93 #6E78CC #CC6EA7
square
#CCC26E #6ECC93 #6E78CC #CC6EA7
split-complementary
#CCC26E #6EA7CC #936ECC
monochromatic
#8E8432 #BBAE42 #CCC26E #DCD59B #ECE8C9
Accessibility & contrast
On white
1.82
#CCC26E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.51
#CCC26E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCC26E
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCC26E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCC26E | 1.00 | 1.82 | 11.51 | 11.51 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BD67
Deuteranopia (green-blind)
#D3C272
Tritanopia (blue-blind)
#D8B8AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #ccc26e; /* rgb */ color: rgb(204, 194, 110); /* oklch */ color: oklch(80.4% 0.106 102.5);
Tailwind
colors: {
custom: {
50: '#ddd499',
500: '#ccc26e',
950: '#000000',
},
}SCSS
$custom: #ccc26e; $custom-light: #ddd499; $custom-dark: #000000;
JSON
{
"hex": "#ccc26e",
"rgb": {
"r": 204,
"g": 194,
"b": 110
},
"hsl": {
"h": 53.617,
"s": 47.959,
"l": 61.569
},
"oklch": {
"l": 0.80416,
"c": 0.10641,
"h": 102.5
},
"luminance": 0.52547
}Semantic roles & 50–950 ramp
primary
#CCC26E
secondary
#4A5294
accent
#3ABB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F