#B4C12C#B4C12C
#B4C12C is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.163 H 114.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C12C |
|---|---|
| RGB | rgb(180, 193, 44) |
| HSL | hsl(65, 63%, 46%) |
| HSV | hsv(65, 77%, 76%) |
| CMYK | cmyk(6.7%, 0%, 77.2%, 24.3%) |
| CIE-LAB | lab(74.84, -22.09, 67.51) |
| CIE-LCH | lch(74.84, 71.03, 108.12°) |
| OKLab | oklab(77.55% -0.0679 0.1476) |
| OKLCH | oklch(77.55% 0.163 114.7) |
| XYZ | xyz(38.3481, 48.0258, 9.6322) |
| Luminance | 0.4803 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.91
Baby Puke Green
#B6C406
ΔE00 2.04
Snot
#ACBB0D
ΔE00 2.08
Pea
#A4BF20
ΔE00 3.11
Mustard Green
#A8B504
ΔE00 3.45
Gross Green
#A0BF16
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C12C #392CC1
analogous
#C1842C #B4C12C #6AC12C
triadic
#B4C12C #2CB4C1 #C12CB4
tetradic
#B4C12C #2CC184 #392CC1 #C12C6A
square
#B4C12C #2CC184 #392CC1 #C12C6A
split-complementary
#B4C12C #2C6AC1 #842CC1
monochromatic
#575D15 #868F21 #B4C12C #CCD853 #DBE384
Accessibility & contrast
On white
1.98
#B4C12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#B4C12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C12C
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C12C | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CFB93A
Tritanopia (blue-blind)
#C0B5A5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b4c12c; /* rgb */ color: rgb(180, 193, 44); /* oklch */ color: oklch(77.6% 0.163 114.7);
Tailwind
colors: {
custom: {
50: '#ced372',
500: '#b4c12c',
950: '#000000',
},
}SCSS
$custom: #b4c12c; $custom-light: #ced372; $custom-dark: #000000;
JSON
{
"hex": "#b4c12c",
"rgb": {
"r": 180,
"g": 193,
"b": 44
},
"hsl": {
"h": 65.235,
"s": 62.869,
"l": 46.471
},
"oklch": {
"l": 0.77555,
"c": 0.1625,
"h": 114.7
},
"luminance": 0.48025
}Semantic roles & 50–950 ramp
primary
#B4C12C
secondary
#837DCC
accent
#42E650
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B