#B5C02A#B5C02A
#B5C02A is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.162 H 114.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C02A |
|---|---|
| RGB | rgb(181, 192, 42) |
| HSL | hsl(64, 64%, 46%) |
| HSV | hsv(64, 78%, 75%) |
| CMYK | cmyk(5.7%, 0%, 78.1%, 24.7%) |
| CIE-LAB | lab(74.63, -21.26, 67.94) |
| CIE-LCH | lch(74.63, 71.19, 107.37°) |
| OKLab | oklab(77.4% -0.0658 0.1482) |
| OKLCH | oklch(77.4% 0.162 114) |
| XYZ | xyz(38.3248, 47.6910, 9.3764) |
| Luminance | 0.4769 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.84
Snot
#ACBB0D
ΔE00 1.97
Baby Puke Green
#B6C406
ΔE00 1.99
Mustard Green
#A8B504
ΔE00 3.25
Pea
#A4BF20
ΔE00 3.49
Puke Yellow
#C2BE0E
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C02A #352AC0
analogous
#C0802A #B5C02A #6AC02A
triadic
#B5C02A #2AB5C0 #C02AB5
tetradic
#B5C02A #2AC080 #352AC0 #C02A6A
square
#B5C02A #2AC080 #352AC0 #C02A6A
split-complementary
#B5C02A #2A6AC0 #802AC0
monochromatic
#565C14 #868E1F #B5C02A #CED84F #DCE381
Accessibility & contrast
On white
1.99
#B5C02A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#B5C02A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C02A
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C02A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C02A | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#C1B4A4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b5c02a; /* rgb */ color: rgb(181, 192, 42); /* oklch */ color: oklch(77.4% 0.162 114.0);
Tailwind
colors: {
custom: {
50: '#cfd271',
500: '#b5c02a',
950: '#000000',
},
}SCSS
$custom: #b5c02a; $custom-light: #cfd271; $custom-dark: #000000;
JSON
{
"hex": "#b5c02a",
"rgb": {
"r": 181,
"g": 192,
"b": 42
},
"hsl": {
"h": 64.4,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.77402,
"c": 0.16211,
"h": 114
},
"luminance": 0.4769
}Semantic roles & 50–950 ramp
primary
#B5C02A
secondary
#807ACC
accent
#41E74D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B