#B5C534#B5C534
#B5C534 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.162 H 115.8°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C534 |
|---|---|
| RGB | rgb(181, 197, 52) |
| HSL | hsl(67, 58%, 49%) |
| HSV | hsv(67, 74%, 77%) |
| CMYK | cmyk(8.1%, 0%, 73.6%, 22.7%) |
| CIE-LAB | lab(76.07, -23.29, 66.13) |
| CIE-LCH | lch(76.07, 70.11, 109.40°) |
| OKLab | oklab(78.57% -0.0706 0.1461) |
| OKLCH | oklch(78.57% 0.162 115.8) |
| XYZ | xyz(39.6432, 50.0048, 10.8117) |
| Luminance | 0.5000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.48
Baby Puke Green
#B6C406
ΔE00 2.50
Pea
#A4BF20
ΔE00 3.06
Snot
#ACBB0D
ΔE00 3.11
Green Yellow
#B5CE08
ΔE00 3.36
Gross Green
#A0BF16
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C534 #4434C5
analogous
#C58D34 #B5C534 #6DC534
triadic
#B5C534 #34B5C5 #C534B5
tetradic
#B5C534 #34C58D #4434C5 #C5346D
square
#B5C534 #34C58D #4434C5 #C5346D
split-complementary
#B5C534 #346DC5 #8D34C5
monochromatic
#5C641A #899527 #B5C534 #C8D561 #D9E291
Accessibility & contrast
On white
1.91
#B5C534 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.00
#B5C534 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C534
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C534 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C534 | 1.00 | 1.91 | 11.00 | 11.00 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BB15
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#C1BAA9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b5c534; /* rgb */ color: rgb(181, 197, 52); /* oklch */ color: oklch(78.6% 0.162 115.8);
Tailwind
colors: {
custom: {
50: '#cfd676',
500: '#b5c534',
950: '#000000',
},
}SCSS
$custom: #b5c534; $custom-light: #cfd676; $custom-dark: #000000;
JSON
{
"hex": "#b5c534",
"rgb": {
"r": 181,
"g": 197,
"b": 52
},
"hsl": {
"h": 66.621,
"s": 58.233,
"l": 48.824
},
"oklch": {
"l": 0.78575,
"c": 0.16223,
"h": 115.8
},
"luminance": 0.50004
}Semantic roles & 50–950 ramp
primary
#B5C534
secondary
#362F6F
accent
#46E157
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D