#BACB3E#BACB3E

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

Color values

HEX#BACB3E
RGBrgb(186, 203, 62)
HSLhsl(67, 58%, 52%)
HSVhsv(67, 69%, 80%)
CMYKcmyk(8.4%, 0%, 69.5%, 20.4%)
CIE-LABlab(78.17, -23.63, 64.78)
CIE-LCHlch(78.17, 68.96, 110.04°)
OKLaboklab(80.37% -0.0709 0.1447)
OKLCHoklch(80.37% 0.161 116.1)
XYZxyz(42.4762, 53.4994, 12.6453)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB3E #4F3ECB
analogous
#CB963E #BACB3E #74CB3E
triadic
#BACB3E #3EBACB #CB3EBA
tetradic
#BACB3E #3ECB96 #4F3ECB #CB3E74
square
#BACB3E #3ECB96 #4F3ECB #CB3E74
split-complementary
#BACB3E #3E74CB #963ECB
monochromatic
#66701E #92A12B #BACB3E #CBD86E #DCE59E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BACB3E#FFFFFF#000000##000000
##BACB3E1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bacb3e;
/* rgb */ color: rgb(186, 203, 62);
/* oklch */ color: oklch(80.4% 0.161 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da7c',
    500: '#bacb3e',
    950: '#000000',
  },
}
SCSS
$custom: #bacb3e;
$custom-light: #d2da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb3e",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 67.234,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80369,
    "c": 0.16119,
    "h": 116.1
  },
  "luminance": 0.53499
}

Semantic roles & 50–950 ramp

primary
#BACB3E
secondary
#3C3479
accent
#47E15A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BACB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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