#BACB4B#BACB4B

#BACB4B is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.5% C 0.152 H 116.4°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#BACB4B
RGBrgb(186, 203, 75)
HSLhsl(68, 55%, 55%)
HSVhsv(68, 63%, 80%)
CMYKcmyk(8.4%, 0%, 63.1%, 20.4%)
CIE-LABlab(78.26, -22.84, 59.80)
CIE-LCHlch(78.26, 64.01, 110.90°)
OKLaboklab(80.47% -0.0675 0.1362)
OKLCHoklch(80.47% 0.152 116.4)
XYZxyz(42.8765, 53.6595, 14.7539)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB4B #5C4BCB
analogous
#CB9C4B #BACB4B #7ACB4B
triadic
#BACB4B #4BBACB #CB4BBA
tetradic
#BACB4B #4BCB9C #5C4BCB #CB4B7A
square
#BACB4B #4BCB9C #5C4BCB #CB4B7A
split-complementary
#BACB4B #4B7ACB #9C4BCB
monochromatic
#6D7923 #98A831 #BACB4B #CCD97A #DEE6AA

Accessibility & contrast

On white

1.79
#BACB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#BACB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB4B
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB4B#FFFFFF#000000##000000
##BACB4B1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13B
Deuteranopia (green-blind)
#D7C254
Tritanopia (blue-blind)
#C5C0B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #bacb4b;
/* rgb */ color: rgb(186, 203, 75);
/* oklch */ color: oklch(80.5% 0.152 116.4);
Tailwind
colors: {
  custom: {
    50: '#d2da83',
    500: '#bacb4b',
    950: '#000000',
  },
}
SCSS
$custom: #bacb4b;
$custom-light: #d2da83;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb4b",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 75
  },
  "hsl": {
    "h": 67.969,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80475,
    "c": 0.15199,
    "h": 116.4
  },
  "luminance": 0.53659
}

Semantic roles & 50–950 ramp

primary
#BACB4B
secondary
#433981
accent
#49DF5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BACB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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