#B8C12F#B8C12F
#B8C12F is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.9% C 0.160 H 113.2°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B8C12F |
|---|---|
| RGB | rgb(184, 193, 47) |
| HSL | hsl(64, 61%, 47%) |
| HSV | hsv(64, 76%, 76%) |
| CMYK | cmyk(4.7%, 0%, 75.6%, 24.3%) |
| CIE-LAB | lab(75.16, -20.28, 66.99) |
| CIE-LCH | lch(75.16, 69.99, 106.84°) |
| OKLab | oklab(77.89% -0.0629 0.1469) |
| OKLCH | oklch(77.89% 0.16 113.2) |
| XYZ | xyz(39.3515, 48.5364, 9.9843) |
| Luminance | 0.4854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.08
Baby Puke Green
#B6C406
ΔE00 2.18
Snot
#ACBB0D
ΔE00 2.52
Mustard Green
#A8B504
ΔE00 3.72
Puke Yellow
#C2BE0E
ΔE00 3.84
Pea
#A4BF20
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8C12F #382FC1
analogous
#C1812F #B8C12F #6FC12F
triadic
#B8C12F #2FB8C1 #C12FB8
tetradic
#B8C12F #2FC181 #382FC1 #C12F6F
square
#B8C12F #2FC181 #382FC1 #C12F6F
split-complementary
#B8C12F #2F6FC1 #812FC1
monochromatic
#5A5F17 #899023 #B8C12F #CED657 #DDE288
Accessibility & contrast
On white
1.96
#B8C12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#B8C12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8C12F
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8C12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8C12F | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B808
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#C5B5A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b8c12f; /* rgb */ color: rgb(184, 193, 47); /* oklch */ color: oklch(77.9% 0.160 113.2);
Tailwind
colors: {
custom: {
50: '#d1d373',
500: '#b8c12f',
950: '#000000',
},
}SCSS
$custom: #b8c12f; $custom-light: #d1d373; $custom-dark: #000000;
JSON
{
"hex": "#b8c12f",
"rgb": {
"r": 184,
"g": 193,
"b": 47
},
"hsl": {
"h": 63.699,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.77893,
"c": 0.15978,
"h": 113.2
},
"luminance": 0.48536
}Semantic roles & 50–950 ramp
primary
#B8C12F
secondary
#8580CC
accent
#44E44E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B