#B9C12F#B9C12F
#B9C12F 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 | #B9C12F |
|---|---|
| RGB | rgb(185, 193, 47) |
| HSL | hsl(63, 61%, 47%) |
| HSV | hsv(63, 76%, 76%) |
| CMYK | cmyk(4.1%, 0%, 75.6%, 24.3%) |
| CIE-LAB | lab(75.24, -19.86, 67.09) |
| CIE-LCH | lch(75.24, 69.96, 106.49°) |
| OKLab | oklab(77.97% -0.0617 0.1471) |
| OKLCH | oklch(77.97% 0.16 112.8) |
| XYZ | xyz(39.5919, 48.6604, 9.9956) |
| Luminance | 0.4866 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.14
Baby Puke Green
#B6C406
ΔE00 2.22
Snot
#ACBB0D
ΔE00 2.65
Puke Yellow
#C2BE0E
ΔE00 3.63
Mustard Green
#A8B504
ΔE00 3.80
Pea
#A4BF20
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C12F #372FC1
analogous
#C1802F #B9C12F #70C12F
triadic
#B9C12F #2FB9C1 #C12FB9
tetradic
#B9C12F #2FC180 #372FC1 #C12F70
square
#B9C12F #2FC180 #372FC1 #C12F70
split-complementary
#B9C12F #2F70C1 #802FC1
monochromatic
#5B5F17 #8A9023 #B9C12F #CFD657 #DDE288
Accessibility & contrast
On white
1.96
#B9C12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.73
#B9C12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C12F
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C12F | 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)
#D0B808
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b9c12f; /* rgb */ color: rgb(185, 193, 47); /* oklch */ color: oklch(78.0% 0.160 112.8);
Tailwind
colors: {
custom: {
50: '#d2d373',
500: '#b9c12f',
950: '#000000',
},
}SCSS
$custom: #b9c12f; $custom-light: #d2d373; $custom-dark: #000000;
JSON
{
"hex": "#b9c12f",
"rgb": {
"r": 185,
"g": 193,
"b": 47
},
"hsl": {
"h": 63.288,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.77974,
"c": 0.15951,
"h": 112.8
},
"luminance": 0.48659
}Semantic roles & 50–950 ramp
primary
#B9C12F
secondary
#8480CC
accent
#44E44D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B