#B5CB42#B5CB42
#B5CB42 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.0% C 0.160 H 118.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CB42 |
|---|---|
| RGB | rgb(181, 203, 66) |
| HSL | hsl(70, 57%, 53%) |
| HSV | hsv(70, 67%, 80%) |
| CMYK | cmyk(10.8%, 0%, 67.5%, 20.4%) |
| CIE-LAB | lab(77.83, -25.45, 62.82) |
| CIE-LCH | lch(77.83, 67.78, 112.05°) |
| OKLab | oklab(80.02% -0.0753 0.1414) |
| OKLCH | oklch(80.02% 0.16 118.1) |
| XYZ | xyz(41.3962, 52.9294, 13.1888) |
| Luminance | 0.5293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.57
Pea
#A4BF20
ΔE00 3.81
Gross Green
#A0BF16
ΔE00 4.31
Baby Puke Green
#B6C406
ΔE00 4.31
Bile
#B5C306
ΔE00 4.36
Snot Green
#9DC100
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CB42 #5842CB
analogous
#CB9C42 #B5CB42 #70CB42
triadic
#B5CB42 #42B5CB #CB42B5
tetradic
#B5CB42 #42CB9C #5842CB #CB4270
square
#B5CB42 #42CB9C #5842CB #CB4270
split-complementary
#B5CB42 #4270CB #9C42CB
monochromatic
#667320 #90A32D #B5CB42 #C8D872 #DBE5A2
Accessibility & contrast
On white
1.81
#B5CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#B5CB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CB42
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CB42 | 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)
#D8C02E
Deuteranopia (green-blind)
#D6C14C
Tritanopia (blue-blind)
#C0C0B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b5cb42; /* rgb */ color: rgb(181, 203, 66); /* oklch */ color: oklch(80.0% 0.160 118.1);
Tailwind
colors: {
custom: {
50: '#ceda7e',
500: '#b5cb42',
950: '#000000',
},
}SCSS
$custom: #b5cb42; $custom-light: #ceda7e; $custom-dark: #000000;
JSON
{
"hex": "#b5cb42",
"rgb": {
"r": 181,
"g": 203,
"b": 66
},
"hsl": {
"h": 69.635,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.80018,
"c": 0.1602,
"h": 118.1
},
"luminance": 0.52929
}Semantic roles & 50–950 ramp
primary
#B5CB42
secondary
#41357C
accent
#48E060
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D