#BAC91E#BAC91E
#BAC91E is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.8% C 0.175 H 115.2°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC91E |
|---|---|
| RGB | rgb(186, 201, 30) |
| HSL | hsl(65, 74%, 45%) |
| HSV | hsv(65, 85%, 79%) |
| CMYK | cmyk(7.5%, 0%, 85.1%, 21.2%) |
| CIE-LAB | lab(77.46, -23.93, 73.56) |
| CIE-LCH | lch(77.46, 77.35, 108.02°) |
| OKLab | oklab(79.76% -0.0742 0.1581) |
| OKLCH | oklch(79.76% 0.175 115.2) |
| XYZ | xyz(41.3720, 52.3069, 9.1449) |
| Luminance | 0.5231 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.39
Bile
#B5C306
ΔE00 1.61
Green Yellow
#B5CE08
ΔE00 2.11
Snot
#ACBB0D
ΔE00 3.68
Pea
#A4BF20
ΔE00 4.33
Puke Yellow
#C2BE0E
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC91E #2D1EC9
analogous
#C9821E #BAC91E #65C91E
triadic
#BAC91E #1EBAC9 #C91EBA
tetradic
#BAC91E #1EC982 #2D1EC9 #C91E65
square
#BAC91E #1EC982 #2D1EC9 #C91E65
split-complementary
#BAC91E #1E65C9 #821EC9
monochromatic
#575E0E #899416 #BAC91E #D5E341 #E0EB77
Accessibility & contrast
On white
1.83
#BAC91E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#BAC91E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC91E
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC91E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC91E | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D7C132
Tritanopia (blue-blind)
#C7BDAC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bac91e; /* rgb */ color: rgb(186, 201, 30); /* oklch */ color: oklch(79.8% 0.175 115.2);
Tailwind
colors: {
custom: {
50: '#d3d96e',
500: '#bac91e',
950: '#000000',
},
}SCSS
$custom: #bac91e; $custom-light: #d3d96e; $custom-dark: #000000;
JSON
{
"hex": "#bac91e",
"rgb": {
"r": 186,
"g": 201,
"b": 30
},
"hsl": {
"h": 65.263,
"s": 74.026,
"l": 45.294
},
"oklch": {
"l": 0.79756,
"c": 0.17461,
"h": 115.2
},
"luminance": 0.52306
}Semantic roles & 50–950 ramp
primary
#BAC91E
secondary
#28226A
accent
#37F147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D