#B5CB3B#B5CB3B
#B5CB3B is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.0% C 0.165 H 117.9°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CB3B |
|---|---|
| RGB | rgb(181, 203, 59) |
| HSL | hsl(69, 58%, 51%) |
| HSV | hsv(69, 71%, 80%) |
| CMYK | cmyk(10.8%, 0%, 70.9%, 20.4%) |
| CIE-LAB | lab(77.79, -25.84, 65.37) |
| CIE-LCH | lch(77.79, 70.29, 111.57°) |
| OKLab | oklab(79.97% -0.0771 0.1456) |
| OKLCH | oklch(79.97% 0.165 117.9) |
| XYZ | xyz(41.2023, 52.8518, 12.1677) |
| Luminance | 0.5285 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.92
Pea
#A4BF20
ΔE00 3.60
Baby Puke Green
#B6C406
ΔE00 3.75
Bile
#B5C306
ΔE00 3.81
Gross Green
#A0BF16
ΔE00 4.08
Snot Green
#9DC100
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CB3B #513BCB
analogous
#CB993B #B5CB3B #6DCB3B
triadic
#B5CB3B #3BB5CB #CB3BB5
tetradic
#B5CB3B #3BCB99 #513BCB #CB3B6D
square
#B5CB3B #3BCB99 #513BCB #CB3B6D
split-complementary
#B5CB3B #3B6DCB #993BCB
monochromatic
#626E1D #8D9F2A #B5CB3B #C7D86B #DAE59C
Accessibility & contrast
On white
1.82
#B5CB3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.57
#B5CB3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CB3B
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CB3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CB3B | 1.00 | 1.82 | 11.57 | 11.57 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C021
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#C0C0AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b5cb3b; /* rgb */ color: rgb(181, 203, 59); /* oklch */ color: oklch(80.0% 0.165 117.9);
Tailwind
colors: {
custom: {
50: '#cfda7a',
500: '#b5cb3b',
950: '#000000',
},
}SCSS
$custom: #b5cb3b; $custom-light: #cfda7a; $custom-dark: #000000;
JSON
{
"hex": "#b5cb3b",
"rgb": {
"r": 181,
"g": 203,
"b": 59
},
"hsl": {
"h": 69.167,
"s": 58.065,
"l": 51.373
},
"oklch": {
"l": 0.79966,
"c": 0.16477,
"h": 117.9
},
"luminance": 0.52851
}Semantic roles & 50–950 ramp
primary
#B5CB3B
secondary
#3D3378
accent
#47E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D