#BAC626#BAC626
#BAC626 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.169 H 114.2°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC626 |
|---|---|
| RGB | rgb(186, 198, 38) |
| HSL | hsl(65, 68%, 46%) |
| HSV | hsv(65, 81%, 78%) |
| CMYK | cmyk(6.1%, 0%, 80.8%, 22.4%) |
| CIE-LAB | lab(76.66, -22.23, 70.98) |
| CIE-LCH | lch(76.66, 74.38, 107.39°) |
| OKLab | oklab(79.12% -0.069 0.1538) |
| OKLCH | oklch(79.12% 0.169 114.2) |
| XYZ | xyz(40.7949, 50.9680, 9.5222) |
| Luminance | 0.5097 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.27
Bile
#B5C306
ΔE00 1.38
Green Yellow
#B5CE08
ΔE00 3.01
Snot
#ACBB0D
ΔE00 3.13
Pea
#A4BF20
ΔE00 4.17
Puke Yellow
#C2BE0E
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC626 #3226C6
analogous
#C68226 #BAC626 #6AC626
triadic
#BAC626 #26BAC6 #C626BA
tetradic
#BAC626 #26C682 #3226C6 #C6266A
square
#BAC626 #26C682 #3226C6 #C6266A
split-complementary
#BAC626 #266AC6 #8226C6
monochromatic
#5A5F12 #8A931C #BAC626 #D2DD4C #DFE780
Accessibility & contrast
On white
1.88
#BAC626 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.19
#BAC626 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC626
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC626 | 1.00 | 1.88 | 11.19 | 11.19 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D5BF36
Tritanopia (blue-blind)
#C7BAA9
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac626; /* rgb */ color: rgb(186, 198, 38); /* oklch */ color: oklch(79.1% 0.169 114.2);
Tailwind
colors: {
custom: {
50: '#d3d770',
500: '#bac626',
950: '#000000',
},
}SCSS
$custom: #bac626; $custom-light: #d3d770; $custom-dark: #000000;
JSON
{
"hex": "#bac626",
"rgb": {
"r": 186,
"g": 198,
"b": 38
},
"hsl": {
"h": 64.5,
"s": 67.797,
"l": 46.275
},
"oklch": {
"l": 0.79119,
"c": 0.16858,
"h": 114.2
},
"luminance": 0.50967
}Semantic roles & 50–950 ramp
primary
#BAC626
secondary
#2B266A
accent
#3DEB4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D