#B4C02B#B4C02B
#B4C02B is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.162 H 114.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C02B |
|---|---|
| RGB | rgb(180, 192, 43) |
| HSL | hsl(65, 63%, 46%) |
| HSV | hsv(65, 78%, 75%) |
| CMYK | cmyk(6.2%, 0%, 77.6%, 24.7%) |
| CIE-LAB | lab(74.56, -21.64, 67.55) |
| CIE-LCH | lch(74.56, 70.93, 107.76°) |
| OKLab | oklab(77.33% -0.0667 0.1475) |
| OKLCH | oklch(77.33% 0.162 114.3) |
| XYZ | xyz(38.1092, 47.5777, 9.4609) |
| Luminance | 0.4758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.92
Bile
#B5C306
ΔE00 1.93
Baby Puke Green
#B6C406
ΔE00 2.09
Mustard Green
#A8B504
ΔE00 3.23
Pea
#A4BF20
ΔE00 3.24
Gross Green
#A0BF16
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C02B #372BC0
analogous
#C0812B #B4C02B #69C02B
triadic
#B4C02B #2BB4C0 #C02BB4
tetradic
#B4C02B #2BC081 #372BC0 #C02B69
square
#B4C02B #2BC081 #372BC0 #C02B69
split-complementary
#B4C02B #2B69C0 #812BC0
monochromatic
#565C15 #858E20 #B4C02B #CDD850 #DBE382
Accessibility & contrast
On white
2.00
#B4C02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#B4C02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C02B
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C02B | 1.00 | 2.00 | 10.52 | 10.52 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CEB939
Tritanopia (blue-blind)
#C0B4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4c02b; /* rgb */ color: rgb(180, 192, 43); /* oklch */ color: oklch(77.3% 0.162 114.3);
Tailwind
colors: {
custom: {
50: '#ced271',
500: '#b4c02b',
950: '#000000',
},
}SCSS
$custom: #b4c02b; $custom-light: #ced271; $custom-dark: #000000;
JSON
{
"hex": "#b4c02b",
"rgb": {
"r": 180,
"g": 192,
"b": 43
},
"hsl": {
"h": 64.832,
"s": 63.404,
"l": 46.078
},
"oklch": {
"l": 0.77326,
"c": 0.16193,
"h": 114.3
},
"luminance": 0.47577
}Semantic roles & 50–950 ramp
primary
#B4C02B
secondary
#817BCC
accent
#41E64F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B