#BAC83B#BAC83B

#BAC83B 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#BAC83B
RGBrgb(186, 200, 59)
HSLhsl(66, 56%, 51%)
HSVhsv(66, 71%, 78%)
CMYKcmyk(7%, 0%, 70.5%, 21.6%)
CIE-LABlab(77.32, -22.33, 65.03)
CIE-LCHlch(77.32, 68.76, 108.95°)
OKLaboklab(79.68% -0.0676 0.1448)
OKLCHoklch(79.68% 0.16 115)
XYZxyz(41.6945, 52.0641, 11.9898)
Luminance0.5206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC83B #493BC8
analogous
#C88F3B #BAC83B #74C83B
triadic
#BAC83B #3BBAC8 #C83BBA
tetradic
#BAC83B #3BC88F #493BC8 #C83B74
square
#BAC83B #3BC88F #493BC8 #C83B74
split-complementary
#BAC83B #3B74C8 #8F3BC8
monochromatic
#636B1E #8F9A2B #BAC83B #CBD56B #DCE39B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC83B#FFFFFF#000000##000000
##BAC83B1.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)
#D6BE22
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac83b;
/* rgb */ color: rgb(186, 200, 59);
/* oklch */ color: oklch(79.7% 0.160 115.0);
Tailwind
colors: {
  custom: {
    50: '#d2d87a',
    500: '#bac83b',
    950: '#000000',
  },
}
SCSS
$custom: #bac83b;
$custom-light: #d2d87a;
$custom-dark: #000000;
JSON
{
  "hex": "#bac83b",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 59
  },
  "hsl": {
    "h": 65.957,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79682,
    "c": 0.15978,
    "h": 115
  },
  "luminance": 0.52063
}

Semantic roles & 50–950 ramp

primary
#BAC83B
secondary
#393374
accent
#48DF57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BAC83B

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

Preview Lab → · Contrast checker → · Palette generator →

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