#BACB3D#BACB3D

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

Color values

HEX#BACB3D
RGBrgb(186, 203, 61)
HSLhsl(67, 58%, 52%)
HSVhsv(67, 70%, 80%)
CMYKcmyk(8.4%, 0%, 70%, 20.4%)
CIE-LABlab(78.16, -23.68, 65.14)
CIE-LCHlch(78.16, 69.31, 109.98°)
OKLaboklab(80.36% -0.0712 0.1453)
OKLCHoklch(80.36% 0.162 116.1)
XYZxyz(42.4490, 53.4885, 12.5021)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB3D #4E3DCB
analogous
#CB953D #BACB3D #73CB3D
triadic
#BACB3D #3DBACB #CB3DBA
tetradic
#BACB3D #3DCB95 #4E3DCB #CB3D73
square
#BACB3D #3DCB95 #4E3DCB #CB3D73
split-complementary
#BACB3D #3D73CB #953DCB
monochromatic
#66701E #92A02B #BACB3D #CBD86D #DCE59E

Accessibility & contrast

On white

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

On black

11.70
#BACB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB3D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB3D#FFFFFF#000000##000000
##BACB3D1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C125
Deuteranopia (green-blind)
#D8C248
Tritanopia (blue-blind)
#C6C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bacb3d;
/* rgb */ color: rgb(186, 203, 61);
/* oklch */ color: oklch(80.4% 0.162 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da7b',
    500: '#bacb3d',
    950: '#000000',
  },
}
SCSS
$custom: #bacb3d;
$custom-light: #d2da7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb3d",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 61
  },
  "hsl": {
    "h": 67.183,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80362,
    "c": 0.16183,
    "h": 116.1
  },
  "luminance": 0.53488
}

Semantic roles & 50–950 ramp

primary
#BACB3D
secondary
#3C3379
accent
#47E159
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BACB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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