#BAC52F#BAC52F
#BAC52F is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.9% C 0.163 H 113.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC52F |
|---|---|
| RGB | rgb(186, 197, 47) |
| HSL | hsl(64, 61%, 48%) |
| HSV | hsv(64, 76%, 77%) |
| CMYK | cmyk(5.6%, 0%, 76.1%, 22.7%) |
| CIE-LAB | lab(76.42, -21.41, 68.20) |
| CIE-LCH | lch(76.42, 71.49, 107.43°) |
| OKLab | oklab(78.94% -0.0661 0.1494) |
| OKLCH | oklch(78.94% 0.163 113.9) |
| XYZ | xyz(40.7303, 50.5777, 10.3056) |
| Luminance | 0.5058 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.83
Bile
#B5C306
ΔE00 1.85
Snot
#ACBB0D
ΔE00 3.10
Green Yellow
#B5CE08
ΔE00 3.50
Pea
#A4BF20
ΔE00 4.07
Puke Yellow
#C2BE0E
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC52F #3A2FC5
analogous
#C5852F #BAC52F #6FC52F
triadic
#BAC52F #2FBAC5 #C52FBA
tetradic
#BAC52F #2FC585 #3A2FC5 #C52F6F
square
#BAC52F #2FC585 #3A2FC5 #C52F6F
split-complementary
#BAC52F #2F6FC5 #852FC5
monochromatic
#5D6217 #8B9423 #BAC52F #CED85A #DDE38B
Accessibility & contrast
On white
1.89
#BAC52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.12
#BAC52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC52F
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC52F | 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)
#D4BB04
Deuteranopia (green-blind)
#D3BE3C
Tritanopia (blue-blind)
#C7B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bac52f; /* rgb */ color: rgb(186, 197, 47); /* oklch */ color: oklch(78.9% 0.163 113.9);
Tailwind
colors: {
custom: {
50: '#d3d674',
500: '#bac52f',
950: '#000000',
},
}SCSS
$custom: #bac52f; $custom-light: #d3d674; $custom-dark: #000000;
JSON
{
"hex": "#bac52f",
"rgb": {
"r": 186,
"g": 197,
"b": 47
},
"hsl": {
"h": 64.4,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.78941,
"c": 0.16338,
"h": 113.9
},
"luminance": 0.50577
}Semantic roles & 50–950 ramp
primary
#BAC52F
secondary
#302B6D
accent
#43E54F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D