#BAC82F#BAC82F

#BAC82F is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.167 H 114.9°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#BAC82F
RGBrgb(186, 200, 47)
HSLhsl(65, 62%, 48%)
HSVhsv(65, 77%, 78%)
CMYKcmyk(7%, 0%, 76.5%, 21.6%)
CIE-LABlab(77.25, -22.88, 68.96)
CIE-LCHlch(77.25, 72.66, 108.36°)
OKLaboklab(79.61% -0.0702 0.151)
OKLCHoklch(79.61% 0.167 114.9)
XYZxyz(41.4183, 51.9536, 10.5350)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC82F #3D2FC8
analogous
#C8892F #BAC82F #6DC82F
triadic
#BAC82F #2FBAC8 #C82FBA
tetradic
#BAC82F #2FC889 #3D2FC8 #C82F6D
square
#BAC82F #2FC889 #3D2FC8 #C82F6D
split-complementary
#BAC82F #2F6DC8 #892FC8
monochromatic
#5E6518 #8C9623 #BAC82F #CDD95C #DCE48D

Accessibility & contrast

On white

1.84
#BAC82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#BAC82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC82F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC82F#FFFFFF#000000##000000
##BAC82F1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE01
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#C6BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac82f;
/* rgb */ color: rgb(186, 200, 47);
/* oklch */ color: oklch(79.6% 0.167 114.9);
Tailwind
colors: {
  custom: {
    50: '#d3d874',
    500: '#bac82f',
    950: '#000000',
  },
}
SCSS
$custom: #bac82f;
$custom-light: #d3d874;
$custom-dark: #000000;
JSON
{
  "hex": "#bac82f",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 65.49,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79608,
    "c": 0.16653,
    "h": 114.9
  },
  "luminance": 0.51953
}

Semantic roles & 50–950 ramp

primary
#BAC82F
secondary
#322C6F
accent
#43E552
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC82F

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

Preview Lab → · Contrast checker → · Palette generator →

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