#BAC834#BAC834
#BAC834 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.164 H 115.0°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC834 |
|---|---|
| RGB | rgb(186, 200, 52) |
| HSL | hsl(66, 59%, 49%) |
| HSV | hsv(66, 74%, 78%) |
| CMYK | cmyk(7%, 0%, 74%, 21.6%) |
| CIE-LAB | lab(77.28, -22.67, 67.40) |
| CIE-LCH | lch(77.28, 71.11, 108.59°) |
| OKLab | oklab(79.64% -0.0692 0.1486) |
| OKLCH | oklch(79.64% 0.164 115) |
| XYZ | xyz(41.5250, 51.9963, 11.0970) |
| Luminance | 0.5200 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.31
Bile
#B5C306
ΔE00 2.39
Green Yellow
#B5CE08
ΔE00 2.97
Snot
#ACBB0D
ΔE00 3.71
Pea
#A4BF20
ΔE00 3.98
Gross Green
#A0BF16
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC834 #4234C8
analogous
#C88C34 #BAC834 #70C834
triadic
#BAC834 #34BAC8 #C834BA
tetradic
#BAC834 #34C88C #4234C8 #C83470
square
#BAC834 #34C88C #4234C8 #C83470
split-complementary
#BAC834 #3470C8 #8C34C8
monochromatic
#60671B #8D9727 #BAC834 #CBD663 #DBE393
Accessibility & contrast
On white
1.84
#BAC834 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.40
#BAC834 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC834
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC834 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC834 | 1.00 | 1.84 | 11.40 | 11.40 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE13
Deuteranopia (green-blind)
#D6C041
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bac834; /* rgb */ color: rgb(186, 200, 52); /* oklch */ color: oklch(79.6% 0.164 115.0);
Tailwind
colors: {
custom: {
50: '#d2d877',
500: '#bac834',
950: '#000000',
},
}SCSS
$custom: #bac834; $custom-light: #d2d877; $custom-dark: #000000;
JSON
{
"hex": "#bac834",
"rgb": {
"r": 186,
"g": 200,
"b": 52
},
"hsl": {
"h": 65.676,
"s": 58.73,
"l": 49.412
},
"oklch": {
"l": 0.79636,
"c": 0.1639,
"h": 115
},
"luminance": 0.51996
}Semantic roles & 50–950 ramp
primary
#BAC834
secondary
#352F71
accent
#46E255
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D