#BAC042#BAC042
#BAC042 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.0% C 0.146 H 112.0°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC042 |
|---|---|
| RGB | rgb(186, 192, 66) |
| HSL | hsl(63, 50%, 51%) |
| HSV | hsv(63, 66%, 75%) |
| CMYK | cmyk(3.1%, 0%, 65.6%, 24.7%) |
| CIE-LAB | lab(75.16, -17.97, 60.20) |
| CIE-LCH | lch(75.16, 62.83, 106.62°) |
| OKLab | oklab(77.97% -0.0548 0.1357) |
| OKLCH | oklch(77.97% 0.146 112) |
| XYZ | xyz(40.0839, 48.5326, 12.4094) |
| Luminance | 0.4853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.81
Bile
#B5C306
ΔE00 3.87
Baby Puke Green
#B6C406
ΔE00 3.95
Mustard Green
#A8B504
ΔE00 4.60
Puke Yellow
#C2BE0E
ΔE00 4.63
Pea
#A4BF20
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC042 #4842C0
analogous
#C08742 #BAC042 #7BC042
triadic
#BAC042 #42BAC0 #C042BA
tetradic
#BAC042 #42C087 #4842C0 #C0427B
square
#BAC042 #42C087 #4842C0 #C0427B
split-complementary
#BAC042 #427BC0 #8742C0
monochromatic
#626622 #8F9431 #BAC042 #CBCF70 #DCDF9E
Accessibility & contrast
On white
1.96
#BAC042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#BAC042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC042
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC042 | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bac042; /* rgb */ color: rgb(186, 192, 66); /* oklch */ color: oklch(78.0% 0.146 112.0);
Tailwind
colors: {
custom: {
50: '#d2d27d',
500: '#bac042',
950: '#000000',
},
}SCSS
$custom: #bac042; $custom-light: #d2d27d; $custom-dark: #000000;
JSON
{
"hex": "#bac042",
"rgb": {
"r": 186,
"g": 192,
"b": 66
},
"hsl": {
"h": 62.857,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.77967,
"c": 0.14636,
"h": 112
},
"luminance": 0.48532
}Semantic roles & 50–950 ramp
primary
#BAC042
secondary
#9693CB
accent
#4EDA55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C