#BAC85F#BAC85F

#BAC85F is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.0% C 0.131 H 115.7°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#BAC85F
RGBrgb(186, 200, 95)
HSLhsl(68, 49%, 58%)
HSVhsv(68, 53%, 78%)
CMYKcmyk(7%, 0%, 52.5%, 21.6%)
CIE-LABlab(77.62, -19.80, 50.23)
CIE-LCHlch(77.62, 53.99, 111.51°)
OKLaboklab(80.02% -0.0569 0.1181)
OKLCHoklch(80.02% 0.131 115.7)
XYZxyz(42.9702, 52.5744, 18.7085)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC85F #6D5FC8
analogous
#C8A15F #BAC85F #85C85F
triadic
#BAC85F #5FBAC8 #C85FBA
tetradic
#BAC85F #5FC8A1 #6D5FC8 #C85F85
square
#BAC85F #5FC8A1 #6D5FC8 #C85F85
split-complementary
#BAC85F #5F85C8 #A15FC8
monochromatic
#75802C #9FAE3C #BAC85F #CED88D #E1E7BA

Accessibility & contrast

On white

1.82
#BAC85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#BAC85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC85F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC85F#FFFFFF#000000##000000
##BAC85F1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#D3C165
Tritanopia (blue-blind)
#C4BEB0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac85f;
/* rgb */ color: rgb(186, 200, 95);
/* oklch */ color: oklch(80.0% 0.131 115.7);
Tailwind
colors: {
  custom: {
    50: '#d1d88f',
    500: '#bac85f',
    950: '#000000',
  },
}
SCSS
$custom: #bac85f;
$custom-light: #d1d88f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac85f",
  "rgb": {
    "r": 186,
    "g": 200,
    "b": 95
  },
  "hsl": {
    "h": 68,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80023,
    "c": 0.13111,
    "h": 115.7
  },
  "luminance": 0.52574
}

Semantic roles & 50–950 ramp

primary
#BAC85F
secondary
#4C4388
accent
#4FD862
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC85F

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

Preview Lab → · Contrast checker → · Palette generator →

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