#BAC526#BAC526
#BAC526 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.9% C 0.168 H 113.8°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC526 |
|---|---|
| RGB | rgb(186, 197, 38) |
| HSL | hsl(64, 68%, 46%) |
| HSV | hsv(64, 81%, 77%) |
| CMYK | cmyk(5.6%, 0%, 80.7%, 22.7%) |
| CIE-LAB | lab(76.38, -21.74, 70.74) |
| CIE-LCH | lch(76.38, 74.01, 107.09°) |
| OKLab | oklab(78.9% -0.0677 0.1533) |
| OKLCH | oklch(78.9% 0.168 113.8) |
| XYZ | xyz(40.5671, 50.5124, 9.4462) |
| Luminance | 0.5051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.27
Bile
#B5C306
ΔE00 1.33
Snot
#ACBB0D
ΔE00 2.98
Green Yellow
#B5CE08
ΔE00 3.29
Puke Yellow
#C2BE0E
ΔE00 3.93
Pea
#A4BF20
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC526 #3126C5
analogous
#C58026 #BAC526 #6AC526
triadic
#BAC526 #26BAC5 #C526BA
tetradic
#BAC526 #26C580 #3126C5 #C5266A
square
#BAC526 #26C580 #3126C5 #C5266A
split-complementary
#BAC526 #266AC5 #8026C5
monochromatic
#595E12 #8A921C #BAC526 #D2DC4C #DFE67F
Accessibility & contrast
On white
1.89
#BAC526 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.10
#BAC526 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC526
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC526 | 1.00 | 1.89 | 11.10 | 11.10 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D4BE36
Tritanopia (blue-blind)
#C7B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bac526; /* rgb */ color: rgb(186, 197, 38); /* oklch */ color: oklch(78.9% 0.168 113.8);
Tailwind
colors: {
custom: {
50: '#d3d670',
500: '#bac526',
950: '#000000',
},
}SCSS
$custom: #bac526; $custom-light: #d3d670; $custom-dark: #000000;
JSON
{
"hex": "#bac526",
"rgb": {
"r": 186,
"g": 197,
"b": 38
},
"hsl": {
"h": 64.151,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.78897,
"c": 0.16756,
"h": 113.8
},
"luminance": 0.50512
}Semantic roles & 50–950 ramp
primary
#BAC526
secondary
#2A266A
accent
#3DEB49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D