#BAC642#BAC642
#BAC642 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.3% C 0.153 H 114.4°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC642 |
|---|---|
| RGB | rgb(186, 198, 66) |
| HSL | hsl(65, 54%, 52%) |
| HSV | hsv(65, 67%, 78%) |
| CMYK | cmyk(6.1%, 0%, 66.7%, 22.4%) |
| CIE-LAB | lab(76.81, -20.95, 61.90) |
| CIE-LCH | lch(76.81, 65.35, 108.70°) |
| OKLab | oklab(79.29% -0.0631 0.1393) |
| OKLCH | oklch(79.29% 0.153 114.4) |
| XYZ | xyz(41.4282, 51.2214, 12.8575) |
| Luminance | 0.5122 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.46
Bile
#B5C306
ΔE00 3.47
Snot
#ACBB0D
ΔE00 4.07
Pea
#A4BF20
ΔE00 4.17
Green Yellow
#B5CE08
ΔE00 4.30
Gross Green
#A0BF16
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC642 #4E42C6
analogous
#C69042 #BAC642 #78C642
triadic
#BAC642 #42BAC6 #C642BA
tetradic
#BAC642 #42C690 #4E42C6 #C64278
square
#BAC642 #42C690 #4E42C6 #C64278
split-complementary
#BAC642 #4278C6 #9042C6
monochromatic
#666D21 #929C2F #BAC642 #CBD471 #DCE2A0
Accessibility & contrast
On white
1.87
#BAC642 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.24
#BAC642 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC642
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC642 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC642 | 1.00 | 1.87 | 11.24 | 11.24 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BC2F
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#C6BBAB
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #bac642; /* rgb */ color: rgb(186, 198, 66); /* oklch */ color: oklch(79.3% 0.153 114.4);
Tailwind
colors: {
custom: {
50: '#d2d77e',
500: '#bac642',
950: '#000000',
},
}SCSS
$custom: #bac642; $custom-light: #d2d77e; $custom-dark: #000000;
JSON
{
"hex": "#bac642",
"rgb": {
"r": 186,
"g": 198,
"b": 66
},
"hsl": {
"h": 65.455,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.79291,
"c": 0.15293,
"h": 114.4
},
"luminance": 0.51221
}Semantic roles & 50–950 ramp
primary
#BAC642
secondary
#3C3676
accent
#4BDD58
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D