#BAC628#BAC628
#BAC628 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.168 H 114.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC628 |
|---|---|
| RGB | rgb(186, 198, 40) |
| HSL | hsl(65, 66%, 47%) |
| HSV | hsv(65, 80%, 78%) |
| CMYK | cmyk(6.1%, 0%, 79.8%, 22.4%) |
| CIE-LAB | lab(76.67, -22.17, 70.46) |
| CIE-LCH | lch(76.67, 73.86, 107.46°) |
| OKLab | oklab(79.13% -0.0687 0.153) |
| OKLCH | oklch(79.13% 0.168 114.2) |
| XYZ | xyz(40.8281, 50.9813, 9.6967) |
| Luminance | 0.5098 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.38
Bile
#B5C306
ΔE00 1.47
Green Yellow
#B5CE08
ΔE00 3.05
Snot
#ACBB0D
ΔE00 3.14
Pea
#A4BF20
ΔE00 4.13
Puke Yellow
#C2BE0E
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC628 #3428C6
analogous
#C68328 #BAC628 #6BC628
triadic
#BAC628 #28BAC6 #C628BA
tetradic
#BAC628 #28C683 #3428C6 #C6286B
square
#BAC628 #28C683 #3428C6 #C6286B
split-complementary
#BAC628 #286BC6 #8328C6
monochromatic
#5A6013 #8A931E #BAC628 #D1DC50 #DEE683
Accessibility & contrast
On white
1.88
#BAC628 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.20
#BAC628 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC628
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC628 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC628 | 1.00 | 1.88 | 11.20 | 11.20 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BF38
Tritanopia (blue-blind)
#C7BAA9
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac628; /* rgb */ color: rgb(186, 198, 40); /* oklch */ color: oklch(79.1% 0.168 114.2);
Tailwind
colors: {
custom: {
50: '#d3d771',
500: '#bac628',
950: '#000000',
},
}SCSS
$custom: #bac628; $custom-light: #d3d771; $custom-dark: #000000;
JSON
{
"hex": "#bac628",
"rgb": {
"r": 186,
"g": 198,
"b": 40
},
"hsl": {
"h": 64.557,
"s": 66.387,
"l": 46.667
},
"oklch": {
"l": 0.79128,
"c": 0.16772,
"h": 114.2
},
"luminance": 0.5098
}Semantic roles & 50–950 ramp
primary
#BAC628
secondary
#2C276B
accent
#3EE94B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D