#BAC959#BAC959
#BAC959 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.2% C 0.138 H 116.0°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC959 |
|---|---|
| RGB | rgb(186, 201, 89) |
| HSL | hsl(68, 51%, 57%) |
| HSV | hsv(68, 56%, 79%) |
| CMYK | cmyk(7.5%, 0%, 55.7%, 21.2%) |
| CIE-LAB | lab(77.84, -20.81, 53.24) |
| CIE-LCH | lch(77.84, 57.17, 111.34°) |
| OKLab | oklab(80.17% -0.0604 0.124) |
| OKLCH | oklch(80.17% 0.138 116) |
| XYZ | xyz(42.9403, 52.9342, 17.4045) |
| Luminance | 0.5293 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.40
Greenish Tan
#BCCB7A
ΔE00 4.87
Light Olive Green
#A4BE5C
ΔE00 4.90
Light Olive
#ACBF69
ΔE00 4.93
Pea
#A4BF20
ΔE00 5.58
Sick Green
#9DB92C
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC959 #6859C9
analogous
#C9A059 #BAC959 #82C959
triadic
#BAC959 #59BAC9 #C959BA
tetradic
#BAC959 #59C9A0 #6859C9 #C95982
square
#BAC959 #59C9A0 #6859C9 #C95982
split-complementary
#BAC959 #5982C9 #A059C9
monochromatic
#737E29 #9DAD38 #BAC959 #CDD887 #E0E7B5
Accessibility & contrast
On white
1.81
#BAC959 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#BAC959 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC959
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC959 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC959 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C04D
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#C4BFB0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #bac959; /* rgb */ color: rgb(186, 201, 89); /* oklch */ color: oklch(80.2% 0.138 116.0);
Tailwind
colors: {
custom: {
50: '#d1d98b',
500: '#bac959',
950: '#000000',
},
}SCSS
$custom: #bac959; $custom-light: #d1d98b; $custom-dark: #000000;
JSON
{
"hex": "#bac959",
"rgb": {
"r": 186,
"g": 201,
"b": 89
},
"hsl": {
"h": 68.036,
"s": 50.909,
"l": 56.863
},
"oklch": {
"l": 0.80173,
"c": 0.13791,
"h": 116
},
"luminance": 0.52934
}Semantic roles & 50–950 ramp
primary
#BAC959
secondary
#494086
accent
#4DDA60
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F