#B4C12F#B4C12F
#B4C12F 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 | #B4C12F |
|---|---|
| RGB | rgb(180, 193, 47) |
| HSL | hsl(65, 61%, 47%) |
| HSV | hsv(65, 76%, 76%) |
| CMYK | cmyk(6.7%, 0%, 75.6%, 24.3%) |
| CIE-LAB | lab(74.86, -21.97, 66.59) |
| CIE-LCH | lch(74.86, 70.12, 108.26°) |
| OKLab | oklab(77.57% -0.0673 0.1462) |
| OKLCH | oklch(77.57% 0.161 114.7) |
| XYZ | xyz(38.4066, 48.0492, 9.9400) |
| Luminance | 0.4805 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.13
Snot
#ACBB0D
ΔE00 2.21
Baby Puke Green
#B6C406
ΔE00 2.26
Pea
#A4BF20
ΔE00 3.09
Mustard Green
#A8B504
ΔE00 3.54
Gross Green
#A0BF16
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C12F #3C2FC1
analogous
#C1852F #B4C12F #6BC12F
triadic
#B4C12F #2FB4C1 #C12FB4
tetradic
#B4C12F #2FC185 #3C2FC1 #C12F6B
square
#B4C12F #2FC185 #3C2FC1 #C12F6B
split-complementary
#B4C12F #2F6BC1 #852FC1
monochromatic
#585F17 #869023 #B4C12F #CBD657 #DAE288
Accessibility & contrast
On white
1.98
#B4C12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#B4C12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C12F
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C12F | 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)
#CFB708
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#C0B5A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b4c12f; /* rgb */ color: rgb(180, 193, 47); /* oklch */ color: oklch(77.6% 0.161 114.7);
Tailwind
colors: {
custom: {
50: '#ced373',
500: '#b4c12f',
950: '#000000',
},
}SCSS
$custom: #b4c12f; $custom-light: #ced373; $custom-dark: #000000;
JSON
{
"hex": "#b4c12f",
"rgb": {
"r": 180,
"g": 193,
"b": 47
},
"hsl": {
"h": 65.342,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.77572,
"c": 0.16097,
"h": 114.7
},
"luminance": 0.48048
}Semantic roles & 50–950 ramp
primary
#B4C12F
secondary
#8780CC
accent
#44E452
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B