#B4C031#B4C031
#B4C031 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.4% C 0.159 H 114.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C031 |
|---|---|
| RGB | rgb(180, 192, 49) |
| HSL | hsl(65, 59%, 47%) |
| HSV | hsv(65, 74%, 75%) |
| CMYK | cmyk(6.2%, 0%, 74.5%, 24.7%) |
| CIE-LAB | lab(74.59, -21.39, 65.70) |
| CIE-LCH | lch(74.59, 69.09, 108.03°) |
| OKLab | oklab(77.36% -0.0656 0.1447) |
| OKLCH | oklch(77.36% 0.159 114.4) |
| XYZ | xyz(38.2275, 47.6251, 10.0839) |
| Luminance | 0.4762 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.22
Bile
#B5C306
ΔE00 2.37
Baby Puke Green
#B6C406
ΔE00 2.51
Pea
#A4BF20
ΔE00 3.22
Mustard Green
#A8B504
ΔE00 3.42
Gross Green
#A0BF16
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C031 #3D31C0
analogous
#C08531 #B4C031 #6DC031
triadic
#B4C031 #31B4C0 #C031B4
tetradic
#B4C031 #31C085 #3D31C0 #C0316D
square
#B4C031 #31C085 #3D31C0 #C0316D
split-complementary
#B4C031 #316DC0 #8531C0
monochromatic
#595E18 #868F25 #B4C031 #CAD559 #DAE18A
Accessibility & contrast
On white
2.00
#B4C031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.52
#B4C031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C031
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C031 | 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)
#CEB610
Deuteranopia (green-blind)
#CEB93D
Tritanopia (blue-blind)
#C0B5A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4c031; /* rgb */ color: rgb(180, 192, 49); /* oklch */ color: oklch(77.4% 0.159 114.4);
Tailwind
colors: {
custom: {
50: '#ced274',
500: '#b4c031',
950: '#000000',
},
}SCSS
$custom: #b4c031; $custom-light: #ced274; $custom-dark: #000000;
JSON
{
"hex": "#b4c031",
"rgb": {
"r": 180,
"g": 192,
"b": 49
},
"hsl": {
"h": 65.035,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.7736,
"c": 0.15882,
"h": 114.4
},
"luminance": 0.47624
}Semantic roles & 50–950 ramp
primary
#B4C031
secondary
#8882CB
accent
#45E352
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B