#BAC456#BAC456
#BAC456 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.0% C 0.135 H 113.8°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC456 |
|---|---|
| RGB | rgb(186, 196, 86) |
| HSL | hsl(65, 48%, 55%) |
| HSV | hsv(65, 56%, 77%) |
| CMYK | cmyk(5.1%, 0%, 56.1%, 23.1%) |
| CIE-LAB | lab(76.43, -18.57, 53.01) |
| CIE-LCH | lch(76.43, 56.17, 109.31°) |
| OKLab | oklab(79.04% -0.0544 0.1232) |
| OKLCH | oklch(79.04% 0.135 113.8) |
| XYZ | xyz(41.6702, 50.5916, 16.3723) |
| Luminance | 0.5059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.85
Light Olive
#ACBF69
ΔE00 4.93
Light Olive Green
#A4BE5C
ΔE00 5.08
Greenish Tan
#BCCB7A
ΔE00 5.32
Pea
#A4BF20
ΔE00 5.54
Snot
#ACBB0D
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC456 #6056C4
analogous
#C49756 #BAC456 #83C456
triadic
#BAC456 #56BAC4 #C456BA
tetradic
#BAC456 #56C497 #6056C4 #C45683
square
#BAC456 #56C497 #6056C4 #C45683
split-complementary
#BAC456 #5683C4 #9756C4
monochromatic
#6F7629 #9AA439 #BAC456 #CDD483 #DFE4B1
Accessibility & contrast
On white
1.89
#BAC456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.12
#BAC456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC456
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC456 | 1.00 | 1.89 | 11.12 | 11.12 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB4B
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#C5BAAC
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac456; /* rgb */ color: rgb(186, 196, 86); /* oklch */ color: oklch(79.0% 0.135 113.8);
Tailwind
colors: {
custom: {
50: '#d1d589',
500: '#bac456',
950: '#000000',
},
}SCSS
$custom: #bac456; $custom-light: #d1d589; $custom-dark: #000000;
JSON
{
"hex": "#bac456",
"rgb": {
"r": 186,
"g": 196,
"b": 86
},
"hsl": {
"h": 65.455,
"s": 48.246,
"l": 55.294
},
"oklch": {
"l": 0.79039,
"c": 0.13463,
"h": 113.8
},
"luminance": 0.50591
}Semantic roles & 50–950 ramp
primary
#BAC456
secondary
#453F7F
accent
#50D85C
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F