#B4CB34#B4CB34
#B4CB34 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 79.8% C 0.169 H 118.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B4CB34 |
|---|---|
| RGB | rgb(180, 203, 52) |
| HSL | hsl(69, 59%, 50%) |
| HSV | hsv(69, 74%, 80%) |
| CMYK | cmyk(11.3%, 0%, 74.4%, 20.4%) |
| CIE-LAB | lab(77.68, -26.60, 67.62) |
| CIE-LCH | lch(77.68, 72.67, 111.47°) |
| OKLab | oklab(79.85% -0.0797 0.1492) |
| OKLCH | oklch(79.85% 0.169 118.1) |
| XYZ | xyz(40.7991, 52.6635, 11.2639) |
| Luminance | 0.5266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.39
Baby Puke Green
#B6C406
ΔE00 3.41
Pea
#A4BF20
ΔE00 3.42
Bile
#B5C306
ΔE00 3.48
Gross Green
#A0BF16
ΔE00 3.86
Snot Green
#9DC100
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4CB34 #4B34CB
analogous
#CB9634 #B4CB34 #69CB34
triadic
#B4CB34 #34B4CB #CB34B4
tetradic
#B4CB34 #34CB96 #4B34CB #CB3469
square
#B4CB34 #34CB96 #4B34CB #CB3469
split-complementary
#B4CB34 #3469CB #9634CB
monochromatic
#5E6A1B #899A28 #B4CB34 #C6D765 #D8E495
Accessibility & contrast
On white
1.82
#B4CB34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#B4CB34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4CB34
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4CB34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4CB34 | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C011
Deuteranopia (green-blind)
#D6C141
Tritanopia (blue-blind)
#BFC0AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b4cb34; /* rgb */ color: rgb(180, 203, 52); /* oklch */ color: oklch(79.8% 0.169 118.1);
Tailwind
colors: {
custom: {
50: '#ceda77',
500: '#b4cb34',
950: '#000000',
},
}SCSS
$custom: #b4cb34; $custom-light: #ceda77; $custom-dark: #000000;
JSON
{
"hex": "#b4cb34",
"rgb": {
"r": 180,
"g": 203,
"b": 52
},
"hsl": {
"h": 69.139,
"s": 59.216,
"l": 50
},
"oklch": {
"l": 0.79846,
"c": 0.1692,
"h": 118.1
},
"luminance": 0.52663
}Semantic roles & 50–950 ramp
primary
#B4CB34
secondary
#3A3073
accent
#45E25D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D