#BAC83A#BAC83A

#BAC83A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.7% C 0.160 H 115.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#BAC83A
RGBrgb(186, 200, 58)
HSLhsl(66, 56%, 51%)
HSVhsv(66, 71%, 78%)
CMYKcmyk(7%, 0%, 71%, 21.6%)
CIE-LABlab(77.31, -22.38, 65.38)
CIE-LCHlch(77.31, 69.11, 108.89°)
OKLaboklab(79.68% -0.0678 0.1453)
OKLCHoklch(79.68% 0.16 115)
XYZxyz(41.6688, 52.0539, 11.8545)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC83A #483AC8
analogous
#C88F3A #BAC83A #73C83A
triadic
#BAC83A #3ABAC8 #C83ABA
tetradic
#BAC83A #3AC88F #483AC8 #C83A73
square
#BAC83A #3AC88F #483AC8 #C83A73
split-complementary
#BAC83A #3A73C8 #8F3AC8
monochromatic
#626A1E #8F9A2B #BAC83A #CBD56A #DCE39A

Accessibility & contrast

On white

1.84
#BAC83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#BAC83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC83A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC83A#FFFFFF#000000##000000
##BAC83A1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE20
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac83a;
/* rgb */ color: rgb(186, 200, 58);
/* oklch */ color: oklch(79.7% 0.160 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d87a',
    500: '#bac83a',
    950: '#000000',
  },
}
SCSS
$custom: #bac83a;
$custom-light: #d2d87a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac83a",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 58
  },
  "hsl": {
    "h": 65.915,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79675,
    "c": 0.16039,
    "h": 115
  },
  "luminance": 0.52053
}

Semantic roles & 50–950 ramp

primary
#BAC83A
secondary
#393274
accent
#48E057
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC83A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BAC83A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva