#BACB3B#BACB3B

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

Color values

HEX#BACB3B
RGBrgb(186, 203, 59)
HSLhsl(67, 58%, 51%)
HSVhsv(67, 71%, 80%)
CMYKcmyk(8.4%, 0%, 70.9%, 20.4%)
CIE-LABlab(78.15, -23.79, 65.85)
CIE-LCHlch(78.15, 70.01, 109.86°)
OKLaboklab(80.35% -0.0717 0.1465)
OKLCHoklch(80.35% 0.163 116.1)
XYZxyz(42.3961, 53.4674, 12.2237)
Luminance0.5347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB3B #4C3BCB
analogous
#CB943B #BACB3B #72CB3B
triadic
#BACB3B #3BBACB #CB3BBA
tetradic
#BACB3B #3BCB94 #4C3BCB #CB3B72
square
#BACB3B #3BCB94 #4C3BCB #CB3B72
split-complementary
#BACB3B #3B72CB #943BCB
monochromatic
#656E1D #919F2A #BACB3B #CBD86B #DCE59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACB3B#FFFFFF#000000##000000
##BACB3B1.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)
#D9C021
Deuteranopia (green-blind)
#D8C247
Tritanopia (blue-blind)
#C6BFAF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bacb3b;
/* rgb */ color: rgb(186, 203, 59);
/* oklch */ color: oklch(80.3% 0.163 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da7a',
    500: '#bacb3b',
    950: '#000000',
  },
}
SCSS
$custom: #bacb3b;
$custom-light: #d2da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb3b",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 67.083,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80348,
    "c": 0.16307,
    "h": 116.1
  },
  "luminance": 0.53467
}

Semantic roles & 50–950 ramp

primary
#BACB3B
secondary
#3B3378
accent
#47E159
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #BACB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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