#CBD45C#CBD45C
#CBD45C is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 83.9% C 0.144 H 113.0°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CBD45C |
|---|---|
| RGB | rgb(203, 212, 92) |
| HSL | hsl(65, 58%, 60%) |
| HSV | hsv(65, 57%, 83%) |
| CMYK | cmyk(4.2%, 0%, 56.6%, 16.9%) |
| CIE-LAB | lab(82.14, -19.11, 57.11) |
| CIE-LCH | lch(82.14, 60.22, 108.50°) |
| OKLab | oklab(83.94% -0.0563 0.1323) |
| OKLCH | oklch(83.94% 0.144 113) |
| XYZ | xyz(50.1050, 60.5571, 19.1724) |
| Luminance | 0.6056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.50
Green Yellow
#B5CE08
ΔE00 6.02
Sickly Yellow
#D0E429
ΔE00 6.32
Baby Puke Green
#B6C406
ΔE00 6.46
Greenish Tan
#BCCB7A
ΔE00 6.59
Bile
#B5C306
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBD45C #655CD4
analogous
#D4A15C #CBD45C #8FD45C
triadic
#CBD45C #5CCBD4 #D45CCB
tetradic
#CBD45C #5CD4A1 #655CD4 #D45C8F
square
#CBD45C #5CD4A1 #655CD4 #D45C8F
split-complementary
#CBD45C #5C8FD4 #A15CD4
monochromatic
#889026 #B6C033 #CBD45C #DAE18C #EAEEBD
Accessibility & contrast
On white
1.60
#CBD45C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.11
#CBD45C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBD45C
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBD45C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBD45C | 1.00 | 1.60 | 13.11 | 13.11 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CB4F
Deuteranopia (green-blind)
#E2CE63
Tritanopia (blue-blind)
#D7C9BA
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cbd45c; /* rgb */ color: rgb(203, 212, 92); /* oklch */ color: oklch(83.9% 0.144 113.0);
Tailwind
colors: {
custom: {
50: '#dde18e',
500: '#cbd45c',
950: '#000000',
},
}SCSS
$custom: #cbd45c; $custom-light: #dde18e; $custom-dark: #000000;
JSON
{
"hex": "#cbd45c",
"rgb": {
"r": 203,
"g": 212,
"b": 92
},
"hsl": {
"h": 64.5,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.83942,
"c": 0.14377,
"h": 113
},
"luminance": 0.60556
}Semantic roles & 50–950 ramp
primary
#CBD45C
secondary
#453F95
accent
#46E152
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F