#BAC748#BAC748
#BAC748 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.150 H 114.8°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC748 |
|---|---|
| RGB | rgb(186, 199, 72) |
| HSL | hsl(66, 53%, 53%) |
| HSV | hsv(66, 64%, 78%) |
| CMYK | cmyk(6.5%, 0%, 63.8%, 22%) |
| CIE-LAB | lab(77.13, -21.07, 59.84) |
| CIE-LCH | lch(77.13, 63.44, 109.40°) |
| OKLab | oklab(79.56% -0.0628 0.1359) |
| OKLCH | oklch(79.56% 0.15 114.8) |
| XYZ | xyz(41.8438, 51.7545, 13.9150) |
| Luminance | 0.5175 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 4.10
Bile
#B5C306
ΔE00 4.11
Pea
#A4BF20
ΔE00 4.38
Green Yellow
#B5CE08
ΔE00 4.62
Snot
#ACBB0D
ΔE00 4.62
Gross Green
#A0BF16
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC748 #5548C7
analogous
#C79448 #BAC748 #7AC748
triadic
#BAC748 #48BAC7 #C748BA
tetradic
#BAC748 #48C794 #5548C7 #C7487A
square
#BAC748 #48C794 #5548C7 #C7487A
split-complementary
#BAC748 #487AC7 #9448C7
monochromatic
#6A7223 #95A131 #BAC748 #CCD577 #DDE4A6
Accessibility & contrast
On white
1.85
#BAC748 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.35
#BAC748 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC748
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC748 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC748 | 1.00 | 1.85 | 11.35 | 11.35 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BD37
Deuteranopia (green-blind)
#D4C051
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #bac748; /* rgb */ color: rgb(186, 199, 72); /* oklch */ color: oklch(79.6% 0.150 114.8);
Tailwind
colors: {
custom: {
50: '#d2d781',
500: '#bac748',
950: '#000000',
},
}SCSS
$custom: #bac748; $custom-light: #d2d781; $custom-dark: #000000;
JSON
{
"hex": "#bac748",
"rgb": {
"r": 186,
"g": 199,
"b": 72
},
"hsl": {
"h": 66.142,
"s": 53.138,
"l": 53.137
},
"oklch": {
"l": 0.79562,
"c": 0.14968,
"h": 114.8
},
"luminance": 0.51754
}Semantic roles & 50–950 ramp
primary
#BAC748
secondary
#3F387B
accent
#4BDD5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E