#BAC459#BAC459
#BAC459 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.1% C 0.132 H 113.9°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC459 |
|---|---|
| RGB | rgb(186, 196, 89) |
| HSL | hsl(66, 48%, 56%) |
| HSV | hsv(66, 55%, 77%) |
| CMYK | cmyk(5.1%, 0%, 54.6%, 23.1%) |
| CIE-LAB | lab(76.46, -18.33, 51.67) |
| CIE-LCH | lch(76.46, 54.83, 109.53°) |
| OKLab | oklab(79.07% -0.0534 0.1206) |
| OKLCH | oklch(79.07% 0.132 113.9) |
| XYZ | xyz(41.7936, 50.6409, 17.0223) |
| Luminance | 0.5064 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.57
Light Olive
#ACBF69
ΔE00 4.60
Light Olive Green
#A4BE5C
ΔE00 4.89
Greenish Tan
#BCCB7A
ΔE00 4.95
Pea
#A4BF20
ΔE00 5.82
Sick Green
#9DB92C
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC459 #6359C4
analogous
#C49859 #BAC459 #84C459
triadic
#BAC459 #59BAC4 #C459BA
tetradic
#BAC459 #59C498 #6359C4 #C45984
square
#BAC459 #59C498 #6359C4 #C45984
split-complementary
#BAC459 #5984C4 #9859C4
monochromatic
#71782B #9BA53B #BAC459 #CDD486 #E0E4B3
Accessibility & contrast
On white
1.89
#BAC459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.13
#BAC459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC459
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC459 | 1.00 | 1.89 | 11.13 | 11.13 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D0BE5F
Tritanopia (blue-blind)
#C5BAAC
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac459; /* rgb */ color: rgb(186, 196, 89); /* oklch */ color: oklch(79.1% 0.132 113.9);
Tailwind
colors: {
custom: {
50: '#d1d58b',
500: '#bac459',
950: '#000000',
},
}SCSS
$custom: #bac459; $custom-light: #d1d58b; $custom-dark: #000000;
JSON
{
"hex": "#bac459",
"rgb": {
"r": 186,
"g": 196,
"b": 89
},
"hsl": {
"h": 65.607,
"s": 47.556,
"l": 55.882
},
"oklch": {
"l": 0.79073,
"c": 0.1319,
"h": 113.9
},
"luminance": 0.5064
}Semantic roles & 50–950 ramp
primary
#BAC459
secondary
#464081
accent
#51D75D
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F