#B4C42F#B4C42F
#B4C42F is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.2% C 0.164 H 115.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C42F |
|---|---|
| RGB | rgb(180, 196, 47) |
| HSL | hsl(66, 61%, 48%) |
| HSV | hsv(66, 76%, 77%) |
| CMYK | cmyk(8.2%, 0%, 76%, 23.1%) |
| CIE-LAB | lab(75.69, -23.44, 67.37) |
| CIE-LCH | lch(75.69, 71.33, 109.18°) |
| OKLab | oklab(78.24% -0.0714 0.1479) |
| OKLCH | oklch(78.24% 0.164 115.8) |
| XYZ | xyz(39.0765, 49.3890, 10.1633) |
| Luminance | 0.4939 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.12
Baby Puke Green
#B6C406
ΔE00 2.17
Snot
#ACBB0D
ΔE00 2.71
Pea
#A4BF20
ΔE00 2.88
Green Yellow
#B5CE08
ΔE00 3.31
Gross Green
#A0BF16
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C42F #3F2FC4
analogous
#C4892F #B4C42F #69C42F
triadic
#B4C42F #2FB4C4 #C42FB4
tetradic
#B4C42F #2FC489 #3F2FC4 #C42F69
square
#B4C42F #2FC489 #3F2FC4 #C42F69
split-complementary
#B4C42F #2F69C4 #892FC4
monochromatic
#596117 #879323 #B4C42F #CAD759 #DAE38A
Accessibility & contrast
On white
1.93
#B4C42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.88
#B4C42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C42F
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C42F | 1.00 | 1.93 | 10.88 | 10.88 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA05
Deuteranopia (green-blind)
#D1BC3C
Tritanopia (blue-blind)
#C0B8A8
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #b4c42f; /* rgb */ color: rgb(180, 196, 47); /* oklch */ color: oklch(78.2% 0.164 115.8);
Tailwind
colors: {
custom: {
50: '#ced574',
500: '#b4c42f',
950: '#000000',
},
}SCSS
$custom: #b4c42f; $custom-light: #ced574; $custom-dark: #000000;
JSON
{
"hex": "#b4c42f",
"rgb": {
"r": 180,
"g": 196,
"b": 47
},
"hsl": {
"h": 66.443,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.78243,
"c": 0.16419,
"h": 115.8
},
"luminance": 0.49388
}Semantic roles & 50–950 ramp
primary
#B4C42F
secondary
#8A82CD
accent
#43E455
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B