#BACB3A#BACB3A

#BACB3A is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.3% C 0.164 H 116.1°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#BACB3A
RGBrgb(186, 203, 58)
HSLhsl(67, 58%, 51%)
HSVhsv(67, 71%, 80%)
CMYKcmyk(8.4%, 0%, 71.4%, 20.4%)
CIE-LABlab(78.14, -23.84, 66.19)
CIE-LCHlch(78.14, 70.36, 109.81°)
OKLaboklab(80.34% -0.0719 0.147)
OKLCHoklch(80.34% 0.164 116.1)
XYZxyz(42.3704, 53.4571, 12.0884)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB3A #4B3ACB
analogous
#CB933A #BACB3A #71CB3A
triadic
#BACB3A #3ABACB #CB3ABA
tetradic
#BACB3A #3ACB93 #4B3ACB #CB3A71
square
#BACB3A #3ACB93 #4B3ACB #CB3A71
split-complementary
#BACB3A #3A71CB #933ACB
monochromatic
#646E1D #909E2A #BACB3A #CBD86A #DCE59B

Accessibility & contrast

On white

1.80
#BACB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#BACB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB3A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB3A#FFFFFF#000000##000000
##BACB3A1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01F
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C6BFAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bacb3a;
/* rgb */ color: rgb(186, 203, 58);
/* oklch */ color: oklch(80.3% 0.164 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da7a',
    500: '#bacb3a',
    950: '#000000',
  },
}
SCSS
$custom: #bacb3a;
$custom-light: #d2da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb3a",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 67.034,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80342,
    "c": 0.16368,
    "h": 116.1
  },
  "luminance": 0.53456
}

Semantic roles & 50–950 ramp

primary
#BACB3A
secondary
#3A3277
accent
#46E159
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BACB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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