#BAC945#BAC945
#BAC945 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.0% C 0.154 H 115.5°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC945 |
|---|---|
| RGB | rgb(186, 201, 69) |
| HSL | hsl(67, 55%, 53%) |
| HSV | hsv(67, 66%, 79%) |
| CMYK | cmyk(7.5%, 0%, 65.7%, 21.2%) |
| CIE-LAB | lab(77.66, -22.25, 61.60) |
| CIE-LCH | lch(77.66, 65.49, 109.86°) |
| OKLab | oklab(79.98% -0.0664 0.1391) |
| OKLCH | oklch(79.98% 0.154 115.5) |
| XYZ | xyz(42.2115, 52.6427, 13.5665) |
| Luminance | 0.5264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.87
Bile
#B5C306
ΔE00 3.91
Green Yellow
#B5CE08
ΔE00 4.01
Pea
#A4BF20
ΔE00 4.26
Snot
#ACBB0D
ΔE00 4.67
Gross Green
#A0BF16
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC945 #5445C9
analogous
#C99645 #BAC945 #78C945
triadic
#BAC945 #45BAC9 #C945BA
tetradic
#BAC945 #45C996 #5445C9 #C94578
square
#BAC945 #45C996 #5445C9 #C94578
split-complementary
#BAC945 #4578C9 #9645C9
monochromatic
#697221 #95A22F #BAC945 #CCD774 #DDE5A4
Accessibility & contrast
On white
1.82
#BAC945 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#BAC945 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC945
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC945 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC945 | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF33
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#C5BEAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #bac945; /* rgb */ color: rgb(186, 201, 69); /* oklch */ color: oklch(80.0% 0.154 115.5);
Tailwind
colors: {
custom: {
50: '#d2d980',
500: '#bac945',
950: '#000000',
},
}SCSS
$custom: #bac945; $custom-light: #d2d980; $custom-dark: #000000;
JSON
{
"hex": "#bac945",
"rgb": {
"r": 186,
"g": 201,
"b": 69
},
"hsl": {
"h": 66.818,
"s": 55,
"l": 52.941
},
"oklch": {
"l": 0.79979,
"c": 0.15416,
"h": 115.5
},
"luminance": 0.52642
}Semantic roles & 50–950 ramp
primary
#BAC945
secondary
#3F377B
accent
#49DE5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E