#BAC732#BAC732
#BAC732 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.4% C 0.164 H 114.6°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC732 |
|---|---|
| RGB | rgb(186, 199, 50) |
| HSL | hsl(65, 60%, 49%) |
| HSV | hsv(65, 75%, 78%) |
| CMYK | cmyk(6.5%, 0%, 74.9%, 22%) |
| CIE-LAB | lab(76.99, -22.27, 67.78) |
| CIE-LCH | lch(76.99, 71.35, 108.18°) |
| OKLab | oklab(79.4% -0.0682 0.149) |
| OKLCH | oklch(79.4% 0.164 114.6) |
| XYZ | xyz(41.2501, 51.5170, 10.7878) |
| Luminance | 0.5152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.09
Bile
#B5C306
ΔE00 2.15
Green Yellow
#B5CE08
ΔE00 3.10
Snot
#ACBB0D
ΔE00 3.48
Pea
#A4BF20
ΔE00 3.98
Gross Green
#A0BF16
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC732 #3F32C7
analogous
#C78A32 #BAC732 #70C732
triadic
#BAC732 #32BAC7 #C732BA
tetradic
#BAC732 #32C78A #3F32C7 #C73270
square
#BAC732 #32C78A #3F32C7 #C73270
split-complementary
#BAC732 #3270C7 #8A32C7
monochromatic
#5F6519 #8C9626 #BAC732 #CCD75F #DCE390
Accessibility & contrast
On white
1.86
#BAC732 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.30
#BAC732 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC732
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC732 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC732 | 1.00 | 1.86 | 11.30 | 11.30 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BD0D
Deuteranopia (green-blind)
#D5BF3F
Tritanopia (blue-blind)
#C6BBAB
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #bac732; /* rgb */ color: rgb(186, 199, 50); /* oklch */ color: oklch(79.4% 0.164 114.6);
Tailwind
colors: {
custom: {
50: '#d2d775',
500: '#bac732',
950: '#000000',
},
}SCSS
$custom: #bac732; $custom-light: #d2d775; $custom-dark: #000000;
JSON
{
"hex": "#bac732",
"rgb": {
"r": 186,
"g": 199,
"b": 50
},
"hsl": {
"h": 65.235,
"s": 59.839,
"l": 48.824
},
"oklch": {
"l": 0.79402,
"c": 0.16392,
"h": 114.6
},
"luminance": 0.51516
}Semantic roles & 50–950 ramp
primary
#BAC732
secondary
#332E70
accent
#45E353
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D