#BAC62F#BAC62F

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

Color values

HEX#BAC62F
RGBrgb(186, 198, 47)
HSLhsl(65, 62%, 48%)
HSVhsv(65, 76%, 78%)
CMYKcmyk(6.1%, 0%, 76.3%, 22.4%)
CIE-LABlab(76.70, -21.90, 68.46)
CIE-LCHlch(76.70, 71.88, 107.74°)
OKLaboklab(79.16% -0.0675 0.15)
OKLCHoklch(79.16% 0.164 114.2)
XYZxyz(40.9581, 51.0333, 10.3816)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC62F #3B2FC6
analogous
#C6862F #BAC62F #6EC62F
triadic
#BAC62F #2FBAC6 #C62FBA
tetradic
#BAC62F #2FC686 #3B2FC6 #C62F6E
square
#BAC62F #2FC686 #3B2FC6 #C62F6E
split-complementary
#BAC62F #2F6EC6 #862FC6
monochromatic
#5D6318 #8C9523 #BAC62F #CED85A #DDE48C

Accessibility & contrast

On white

1.87
#BAC62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#BAC62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC62F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC62F#FFFFFF#000000##000000
##BAC62F1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac62f;
/* rgb */ color: rgb(186, 198, 47);
/* oklch */ color: oklch(79.2% 0.164 114.2);
Tailwind
colors: {
  custom: {
    50: '#d3d774',
    500: '#bac62f',
    950: '#000000',
  },
}
SCSS
$custom: #bac62f;
$custom-light: #d3d774;
$custom-dark: #000000;
JSON
{
  "hex": "#bac62f",
  "rgb": {
    "r": 186,
    "g": 198,
    "b": 47
  },
  "hsl": {
    "h": 64.768,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79163,
    "c": 0.16443,
    "h": 114.2
  },
  "luminance": 0.51033
}

Semantic roles & 50–950 ramp

primary
#BAC62F
secondary
#312C6E
accent
#43E550
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC62F

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

Preview Lab → · Contrast checker → · Palette generator →

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