#CBC56A#CBC56A
#CBC56A is a light, moderate yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.114 H 105.3°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CBC56A |
|---|---|
| RGB | rgb(203, 197, 106) |
| HSL | hsl(56, 48%, 61%) |
| HSV | hsv(56, 48%, 80%) |
| CMYK | cmyk(0%, 3%, 47.8%, 20.4%) |
| CIE-LAB | lab(78.27, -10.39, 46.06) |
| CIE-LCH | lch(78.27, 47.22, 102.72°) |
| OKLab | oklab(80.91% -0.03 0.1097) |
| OKLCH | oklch(80.91% 0.114 105.3) |
| XYZ | xyz(47.1975, 53.6709, 21.5062) |
| Luminance | 0.5367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.24
Greenish Beige
#C9D179
ΔE00 4.54
Sand (survey)
#E2CA76
ΔE00 5.75
Greenish Tan
#BCCB7A
ΔE00 6.12
Light Olive
#ACBF69
ΔE00 7.26
Sandy
#F1DA7A
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBC56A #6A70CB
analogous
#CB946A #CBC56A #A0CB6A
triadic
#CBC56A #6ACBC5 #C56ACB
tetradic
#CBC56A #6ACB94 #6A70CB #CB6AA0
square
#CBC56A #6ACB94 #6A70CB #CB6AA0
split-complementary
#CBC56A #6AA0CB #946ACB
monochromatic
#8A8530 #B8B040 #CBC56A #DBD797 #EBE8C5
Accessibility & contrast
On white
1.79
#CBC56A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#CBC56A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBC56A
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBC56A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBC56A | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BF62
Deuteranopia (green-blind)
#D5C46E
Tritanopia (blue-blind)
#D7BBB0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cbc56a; /* rgb */ color: rgb(203, 197, 106); /* oklch */ color: oklch(80.9% 0.114 105.3);
Tailwind
colors: {
custom: {
50: '#ddd696',
500: '#cbc56a',
950: '#000000',
},
}SCSS
$custom: #cbc56a; $custom-light: #ddd696; $custom-dark: #000000;
JSON
{
"hex": "#cbc56a",
"rgb": {
"r": 203,
"g": 197,
"b": 106
},
"hsl": {
"h": 56.289,
"s": 48.259,
"l": 60.588
},
"oklch": {
"l": 0.80906,
"c": 0.11376,
"h": 105.3
},
"luminance": 0.5367
}Semantic roles & 50–950 ramp
primary
#CBC56A
secondary
#484C91
accent
#33BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140D
muted
#84837F