#BAC62A#BAC62A

#BAC62A is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.1% C 0.167 H 114.2°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#BAC62A
RGBrgb(186, 198, 42)
HSLhsl(65, 65%, 47%)
HSVhsv(65, 79%, 78%)
CMYKcmyk(6.1%, 0%, 78.8%, 22.4%)
CIE-LABlab(76.68, -22.10, 69.91)
CIE-LCHlch(76.68, 73.32, 107.54°)
OKLaboklab(79.14% -0.0684 0.1522)
OKLCHoklch(79.14% 0.167 114.2)
XYZxyz(40.8630, 50.9953, 9.8805)
Luminance0.5099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC62A #362AC6
analogous
#C6842A #BAC62A #6CC62A
triadic
#BAC62A #2ABAC6 #C62ABA
tetradic
#BAC62A #2AC684 #362AC6 #C62A6C
square
#BAC62A #2AC684 #362AC6 #C62A6C
split-complementary
#BAC62A #2A6CC6 #842AC6
monochromatic
#5B6115 #8B941F #BAC62A #D0DA53 #DEE585

Accessibility & contrast

On white

1.88
#BAC62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#BAC62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC62A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC62A#FFFFFF#000000##000000
##BAC62A1.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D4BF39
Tritanopia (blue-blind)
#C7BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac62a;
/* rgb */ color: rgb(186, 198, 42);
/* oklch */ color: oklch(79.1% 0.167 114.2);
Tailwind
colors: {
  custom: {
    50: '#d3d772',
    500: '#bac62a',
    950: '#000000',
  },
}
SCSS
$custom: #bac62a;
$custom-light: #d3d772;
$custom-dark: #000000;
JSON
{
  "hex": "#bac62a",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 42
  },
  "hsl": {
    "h": 64.615,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.79137,
    "c": 0.16684,
    "h": 114.2
  },
  "luminance": 0.50994
}

Semantic roles & 50–950 ramp

primary
#BAC62A
secondary
#2E286C
accent
#40E84D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC62A

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

Preview Lab → · Contrast checker → · Palette generator →

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