#BAC12F#BAC12F
#BAC12F is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.1% C 0.159 H 112.4°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC12F |
|---|---|
| RGB | rgb(186, 193, 47) |
| HSL | hsl(63, 61%, 47%) |
| HSV | hsv(63, 76%, 76%) |
| CMYK | cmyk(3.6%, 0%, 75.6%, 24.3%) |
| CIE-LAB | lab(75.32, -19.43, 67.19) |
| CIE-LCH | lch(75.32, 69.94, 106.13°) |
| OKLab | oklab(78.06% -0.0606 0.1473) |
| OKLCH | oklch(78.06% 0.159 112.4) |
| XYZ | xyz(39.8341, 48.7852, 10.0069) |
| Luminance | 0.4878 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.22
Baby Puke Green
#B6C406
ΔE00 2.29
Snot
#ACBB0D
ΔE00 2.80
Puke Yellow
#C2BE0E
ΔE00 3.41
Mustard Green
#A8B504
ΔE00 3.90
Vomit Yellow
#C7C10C
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC12F #362FC1
analogous
#C17F2F #BAC12F #71C12F
triadic
#BAC12F #2FBAC1 #C12FBA
tetradic
#BAC12F #2FC17F #362FC1 #C12F71
square
#BAC12F #2FC17F #362FC1 #C12F71
split-complementary
#BAC12F #2F71C1 #7F2FC1
monochromatic
#5B5F17 #8B9023 #BAC12F #D0D657 #DEE288
Accessibility & contrast
On white
1.95
#BAC12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.76
#BAC12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC12F
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC12F | 1.00 | 1.95 | 10.76 | 10.76 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B808
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#C7B5A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bac12f; /* rgb */ color: rgb(186, 193, 47); /* oklch */ color: oklch(78.1% 0.159 112.4);
Tailwind
colors: {
custom: {
50: '#d2d373',
500: '#bac12f',
950: '#000000',
},
}SCSS
$custom: #bac12f; $custom-light: #d2d373; $custom-dark: #000000;
JSON
{
"hex": "#bac12f",
"rgb": {
"r": 186,
"g": 193,
"b": 47
},
"hsl": {
"h": 62.877,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.78056,
"c": 0.15925,
"h": 112.4
},
"luminance": 0.48784
}Semantic roles & 50–950 ramp
primary
#BAC12F
secondary
#8480CC
accent
#44E44C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B