#B4C02C#B4C02C
#B4C02C is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.161 H 114.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C02C |
|---|---|
| RGB | rgb(180, 192, 44) |
| HSL | hsl(65, 63%, 46%) |
| HSV | hsv(65, 77%, 75%) |
| CMYK | cmyk(6.2%, 0%, 77.1%, 24.7%) |
| CIE-LAB | lab(74.56, -21.60, 67.25) |
| CIE-LCH | lch(74.56, 70.64, 107.81°) |
| OKLab | oklab(77.33% -0.0665 0.1471) |
| OKLCH | oklch(77.33% 0.161 114.3) |
| XYZ | xyz(38.1278, 47.5852, 9.5587) |
| Luminance | 0.4758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.96
Bile
#B5C306
ΔE00 2.00
Baby Puke Green
#B6C406
ΔE00 2.15
Pea
#A4BF20
ΔE00 3.24
Mustard Green
#A8B504
ΔE00 3.26
Gross Green
#A0BF16
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C02C #382CC0
analogous
#C0822C #B4C02C #6AC02C
triadic
#B4C02C #2CB4C0 #C02CB4
tetradic
#B4C02C #2CC082 #382CC0 #C02C6A
square
#B4C02C #2CC082 #382CC0 #C02C6A
split-complementary
#B4C02C #2C6AC0 #822CC0
monochromatic
#575C15 #858E21 #B4C02C #CDD752 #DBE384
Accessibility & contrast
On white
2.00
#B4C02C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#B4C02C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C02C
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C02C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C02C | 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)
#CEB93A
Tritanopia (blue-blind)
#C0B4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4c02c; /* rgb */ color: rgb(180, 192, 44); /* oklch */ color: oklch(77.3% 0.161 114.3);
Tailwind
colors: {
custom: {
50: '#ced272',
500: '#b4c02c',
950: '#000000',
},
}SCSS
$custom: #b4c02c; $custom-light: #ced272; $custom-dark: #000000;
JSON
{
"hex": "#b4c02c",
"rgb": {
"r": 180,
"g": 192,
"b": 44
},
"hsl": {
"h": 64.865,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.77332,
"c": 0.16144,
"h": 114.3
},
"luminance": 0.47584
}Semantic roles & 50–950 ramp
primary
#B4C02C
secondary
#827CCC
accent
#42E64F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B