#BAC74B#BAC74B

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

Color values

HEX#BAC74B
RGBrgb(186, 199, 75)
HSLhsl(66, 53%, 54%)
HSVhsv(66, 62%, 78%)
CMYKcmyk(6.5%, 0%, 62.3%, 22%)
CIE-LABlab(77.16, -20.87, 58.62)
CIE-LCHlch(77.16, 62.22, 109.60°)
OKLaboklab(79.59% -0.062 0.1337)
OKLCHoklch(79.59% 0.147 114.9)
XYZxyz(41.9441, 51.7946, 14.4430)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC74B #584BC7
analogous
#C7964B #BAC74B #7CC74B
triadic
#BAC74B #4BBAC7 #C74BBA
tetradic
#BAC74B #4BC796 #584BC7 #C74B7C
square
#BAC74B #4BC796 #584BC7 #C74B7C
split-complementary
#BAC74B #4B7CC7 #964BC7
monochromatic
#6B7424 #97A232 #BAC74B #CCD67A #DEE4A8

Accessibility & contrast

On white

1.85
#BAC74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#BAC74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC74B
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC74B#FFFFFF#000000##000000
##BAC74B1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE3C
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#C5BCAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bac74b;
/* rgb */ color: rgb(186, 199, 75);
/* oklch */ color: oklch(79.6% 0.147 114.9);
Tailwind
colors: {
  custom: {
    50: '#d1d783',
    500: '#bac74b',
    950: '#000000',
  },
}
SCSS
$custom: #bac74b;
$custom-light: #d1d783;
$custom-dark: #000000;
JSON
{
  "hex": "#bac74b",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 66.29,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79589,
    "c": 0.14737,
    "h": 114.9
  },
  "luminance": 0.51794
}

Semantic roles & 50–950 ramp

primary
#BAC74B
secondary
#413A7D
accent
#4CDC5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #BAC74B

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

Preview Lab → · Contrast checker → · Palette generator →

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