#B5CB45#B5CB45
#B5CB45 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.0% C 0.158 H 118.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CB45 |
|---|---|
| RGB | rgb(181, 203, 69) |
| HSL | hsl(70, 56%, 53%) |
| HSV | hsv(70, 66%, 80%) |
| CMYK | cmyk(10.8%, 0%, 66%, 20.4%) |
| CIE-LAB | lab(77.85, -25.27, 61.68) |
| CIE-LCH | lch(77.85, 66.65, 112.27°) |
| OKLab | oklab(80.04% -0.0745 0.1394) |
| OKLCH | oklch(80.04% 0.158 118.1) |
| XYZ | xyz(41.4870, 52.9657, 13.6669) |
| Luminance | 0.5296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.88
Pea
#A4BF20
ΔE00 3.94
Gross Green
#A0BF16
ΔE00 4.44
Baby Puke Green
#B6C406
ΔE00 4.58
Bile
#B5C306
ΔE00 4.62
Snot Green
#9DC100
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CB45 #5B45CB
analogous
#CB9E45 #B5CB45 #72CB45
triadic
#B5CB45 #45B5CB #CB45B5
tetradic
#B5CB45 #45CB9E #5B45CB #CB4572
square
#B5CB45 #45CB9E #5B45CB #CB4572
split-complementary
#B5CB45 #4572CB #9E45CB
monochromatic
#677521 #91A52E #B5CB45 #C8D875 #DBE6A5
Accessibility & contrast
On white
1.81
#B5CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#B5CB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CB45
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CB45 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C032
Deuteranopia (green-blind)
#D6C14F
Tritanopia (blue-blind)
#BFC0B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b5cb45; /* rgb */ color: rgb(181, 203, 69); /* oklch */ color: oklch(80.0% 0.158 118.1);
Tailwind
colors: {
custom: {
50: '#ceda80',
500: '#b5cb45',
950: '#000000',
},
}SCSS
$custom: #b5cb45; $custom-light: #ceda80; $custom-dark: #000000;
JSON
{
"hex": "#b5cb45",
"rgb": {
"r": 181,
"g": 203,
"b": 69
},
"hsl": {
"h": 69.851,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.80042,
"c": 0.15809,
"h": 118.1
},
"luminance": 0.52965
}Semantic roles & 50–950 ramp
primary
#B5CB45
secondary
#42377E
accent
#48E061
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E