#BAC82F#BAC82F
#BAC82F is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.167 H 114.9°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC82F |
|---|---|
| RGB | rgb(186, 200, 47) |
| HSL | hsl(65, 62%, 48%) |
| HSV | hsv(65, 77%, 78%) |
| CMYK | cmyk(7%, 0%, 76.5%, 21.6%) |
| CIE-LAB | lab(77.25, -22.88, 68.96) |
| CIE-LCH | lch(77.25, 72.66, 108.36°) |
| OKLab | oklab(79.61% -0.0702 0.151) |
| OKLCH | oklch(79.61% 0.167 114.9) |
| XYZ | xyz(41.4183, 51.9536, 10.5350) |
| Luminance | 0.5195 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.96
Bile
#B5C306
ΔE00 2.07
Green Yellow
#B5CE08
ΔE00 2.74
Snot
#ACBB0D
ΔE00 3.59
Pea
#A4BF20
ΔE00 4.01
Gross Green
#A0BF16
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC82F #3D2FC8
analogous
#C8892F #BAC82F #6DC82F
triadic
#BAC82F #2FBAC8 #C82FBA
tetradic
#BAC82F #2FC889 #3D2FC8 #C82F6D
square
#BAC82F #2FC889 #3D2FC8 #C82F6D
split-complementary
#BAC82F #2F6DC8 #892FC8
monochromatic
#5E6518 #8C9623 #BAC82F #CDD95C #DCE48D
Accessibility & contrast
On white
1.84
#BAC82F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#BAC82F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC82F
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC82F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC82F | 1.00 | 1.84 | 11.39 | 11.39 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BE01
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bac82f; /* rgb */ color: rgb(186, 200, 47); /* oklch */ color: oklch(79.6% 0.167 114.9);
Tailwind
colors: {
custom: {
50: '#d3d874',
500: '#bac82f',
950: '#000000',
},
}SCSS
$custom: #bac82f; $custom-light: #d3d874; $custom-dark: #000000;
JSON
{
"hex": "#bac82f",
"rgb": {
"r": 186,
"g": 200,
"b": 47
},
"hsl": {
"h": 65.49,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.79608,
"c": 0.16653,
"h": 114.9
},
"luminance": 0.51953
}Semantic roles & 50–950 ramp
primary
#BAC82F
secondary
#322C6F
accent
#43E552
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D