#BAC738#BAC738
#BAC738 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.4% C 0.161 H 114.6°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC738 |
|---|---|
| RGB | rgb(186, 199, 56) |
| HSL | hsl(65, 56%, 50%) |
| HSV | hsv(65, 72%, 78%) |
| CMYK | cmyk(6.5%, 0%, 71.9%, 22%) |
| CIE-LAB | lab(77.02, -21.99, 65.81) |
| CIE-LCH | lch(77.02, 69.38, 108.48°) |
| OKLab | oklab(79.44% -0.0669 0.1459) |
| OKLCH | oklch(79.44% 0.161 114.6) |
| XYZ | xyz(41.3881, 51.5722, 11.5148) |
| Luminance | 0.5157 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 2.56
Bile
#B5C306
ΔE00 2.60
Green Yellow
#B5CE08
ΔE00 3.41
Snot
#ACBB0D
ΔE00 3.67
Pea
#A4BF20
ΔE00 3.97
Gross Green
#A0BF16
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC738 #4538C7
analogous
#C78D38 #BAC738 #72C738
triadic
#BAC738 #38BAC7 #C738BA
tetradic
#BAC738 #38C78D #4538C7 #C73872
square
#BAC738 #38C78D #4538C7 #C73872
split-complementary
#BAC738 #3872C7 #8D38C7
monochromatic
#61671D #8D972B #BAC738 #CBD468 #DBE298
Accessibility & contrast
On white
1.86
#BAC738 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.31
#BAC738 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC738
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC738 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC738 | 1.00 | 1.86 | 11.31 | 11.31 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D5BF44
Tritanopia (blue-blind)
#C6BBAB
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #bac738; /* rgb */ color: rgb(186, 199, 56); /* oklch */ color: oklch(79.4% 0.161 114.6);
Tailwind
colors: {
custom: {
50: '#d2d778',
500: '#bac738',
950: '#000000',
},
}SCSS
$custom: #bac738; $custom-light: #d2d778; $custom-dark: #000000;
JSON
{
"hex": "#bac738",
"rgb": {
"r": 186,
"g": 199,
"b": 56
},
"hsl": {
"h": 65.455,
"s": 56.078,
"l": 50
},
"oklch": {
"l": 0.79439,
"c": 0.16052,
"h": 114.6
},
"luminance": 0.51571
}Semantic roles & 50–950 ramp
primary
#BAC738
secondary
#373272
accent
#48DF56
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#15140A
muted
#84837D