#CBD45B#CBD45B
#CBD45B is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.9% C 0.145 H 113.0°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CBD45B |
|---|---|
| RGB | rgb(203, 212, 91) |
| HSL | hsl(64, 58%, 59%) |
| HSV | hsv(64, 57%, 83%) |
| CMYK | cmyk(4.2%, 0%, 57.1%, 16.9%) |
| CIE-LAB | lab(82.13, -19.18, 57.54) |
| CIE-LCH | lch(82.13, 60.65, 108.44°) |
| OKLab | oklab(83.93% -0.0566 0.1331) |
| OKLCH | oklch(83.93% 0.145 113) |
| XYZ | xyz(50.0616, 60.5398, 18.9437) |
| Luminance | 0.6054 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.62
Green Yellow
#B5CE08
ΔE00 5.92
Sickly Yellow
#D0E429
ΔE00 6.22
Baby Puke Green
#B6C406
ΔE00 6.37
Bile
#B5C306
ΔE00 6.51
Greenish Tan
#BCCB7A
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBD45B #645BD4
analogous
#D4A15B #CBD45B #8FD45B
triadic
#CBD45B #5BCBD4 #D45BCB
tetradic
#CBD45B #5BD4A1 #645BD4 #D45B8F
square
#CBD45B #5BD4A1 #645BD4 #D45B8F
split-complementary
#CBD45B #5B8FD4 #A15BD4
monochromatic
#878F26 #B5C032 #CBD45B #DAE18B #EAEDBC
Accessibility & contrast
On white
1.60
#CBD45B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.11
#CBD45B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBD45B
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBD45B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBD45B | 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)
#E2CB4E
Deuteranopia (green-blind)
#E2CE62
Tritanopia (blue-blind)
#D7C9BA
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cbd45b; /* rgb */ color: rgb(203, 212, 91); /* oklch */ color: oklch(83.9% 0.145 113.0);
Tailwind
colors: {
custom: {
50: '#dde18e',
500: '#cbd45b',
950: '#000000',
},
}SCSS
$custom: #cbd45b; $custom-light: #dde18e; $custom-dark: #000000;
JSON
{
"hex": "#cbd45b",
"rgb": {
"r": 203,
"g": 212,
"b": 91
},
"hsl": {
"h": 64.463,
"s": 58.454,
"l": 59.412
},
"oklch": {
"l": 0.83932,
"c": 0.14463,
"h": 113
},
"luminance": 0.60539
}Semantic roles & 50–950 ramp
primary
#CBD45B
secondary
#453E95
accent
#46E252
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F