#B4C12E#B4C12E
#B4C12E is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.161 H 114.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C12E |
|---|---|
| RGB | rgb(180, 193, 46) |
| HSL | hsl(65, 62%, 47%) |
| HSV | hsv(65, 76%, 76%) |
| CMYK | cmyk(6.7%, 0%, 76.2%, 24.3%) |
| CIE-LAB | lab(74.85, -22.01, 66.90) |
| CIE-LCH | lch(74.85, 70.43, 108.21°) |
| OKLab | oklab(77.57% -0.0675 0.1467) |
| OKLCH | oklch(77.57% 0.161 114.7) |
| XYZ | xyz(38.3866, 48.0412, 9.8350) |
| Luminance | 0.4804 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.06
Snot
#ACBB0D
ΔE00 2.16
Baby Puke Green
#B6C406
ΔE00 2.18
Pea
#A4BF20
ΔE00 3.10
Mustard Green
#A8B504
ΔE00 3.51
Gross Green
#A0BF16
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C12E #3B2EC1
analogous
#C1852E #B4C12E #6BC12E
triadic
#B4C12E #2EB4C1 #C12EB4
tetradic
#B4C12E #2EC185 #3B2EC1 #C12E6B
square
#B4C12E #2EC185 #3B2EC1 #C12E6B
split-complementary
#B4C12E #2E6BC1 #852EC1
monochromatic
#585E16 #869022 #B4C12E #CBD756 #DAE287
Accessibility & contrast
On white
1.98
#B4C12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#B4C12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C12E
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C12E | 1.00 | 1.98 | 10.61 | 10.61 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB704
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#C0B5A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b4c12e; /* rgb */ color: rgb(180, 193, 46); /* oklch */ color: oklch(77.6% 0.161 114.7);
Tailwind
colors: {
custom: {
50: '#ced373',
500: '#b4c12e',
950: '#000000',
},
}SCSS
$custom: #b4c12e; $custom-light: #ced373; $custom-dark: #000000;
JSON
{
"hex": "#b4c12e",
"rgb": {
"r": 180,
"g": 193,
"b": 46
},
"hsl": {
"h": 65.306,
"s": 61.506,
"l": 46.863
},
"oklch": {
"l": 0.77566,
"c": 0.16149,
"h": 114.7
},
"luminance": 0.4804
}Semantic roles & 50–950 ramp
primary
#B4C12E
secondary
#867FCC
accent
#43E551
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B