#B9C12E#B9C12E
#B9C12E is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.160 H 112.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C12E |
|---|---|
| RGB | rgb(185, 193, 46) |
| HSL | hsl(63, 62%, 47%) |
| HSV | hsv(63, 76%, 76%) |
| CMYK | cmyk(4.1%, 0%, 76.2%, 24.3%) |
| CIE-LAB | lab(75.23, -19.90, 67.40) |
| CIE-LCH | lch(75.23, 70.27, 106.45°) |
| OKLab | oklab(77.97% -0.0619 0.1476) |
| OKLCH | oklch(77.97% 0.16 112.8) |
| XYZ | xyz(39.5720, 48.6524, 9.8905) |
| Luminance | 0.4865 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.07
Baby Puke Green
#B6C406
ΔE00 2.16
Snot
#ACBB0D
ΔE00 2.62
Puke Yellow
#C2BE0E
ΔE00 3.58
Mustard Green
#A8B504
ΔE00 3.78
Vomit Yellow
#C7C10C
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C12E #362EC1
analogous
#C17F2E #B9C12E #70C12E
triadic
#B9C12E #2EB9C1 #C12EB9
tetradic
#B9C12E #2EC17F #362EC1 #C12E70
square
#B9C12E #2EC17F #362EC1 #C12E70
split-complementary
#B9C12E #2E70C1 #7F2EC1
monochromatic
#5A5E16 #8A9022 #B9C12E #D0D756 #DDE287
Accessibility & contrast
On white
1.96
#B9C12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.73
#B9C12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C12E
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C12E | 1.00 | 1.96 | 10.73 | 10.73 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B804
Deuteranopia (green-blind)
#D0BB3B
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b9c12e; /* rgb */ color: rgb(185, 193, 46); /* oklch */ color: oklch(78.0% 0.160 112.8);
Tailwind
colors: {
custom: {
50: '#d2d373',
500: '#b9c12e',
950: '#000000',
},
}SCSS
$custom: #b9c12e; $custom-light: #d2d373; $custom-dark: #000000;
JSON
{
"hex": "#b9c12e",
"rgb": {
"r": 185,
"g": 193,
"b": 46
},
"hsl": {
"h": 63.265,
"s": 61.506,
"l": 46.863
},
"oklch": {
"l": 0.77969,
"c": 0.16003,
"h": 112.8
},
"luminance": 0.48651
}Semantic roles & 50–950 ramp
primary
#B9C12E
secondary
#837FCC
accent
#43E54C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B