#BAC53F#BAC53F

#BAC53F is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.154 H 114.0°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#BAC53F
RGBrgb(186, 197, 63)
HSLhsl(65, 54%, 51%)
HSVhsv(65, 68%, 77%)
CMYKcmyk(5.6%, 0%, 68%, 22.7%)
CIE-LABlab(76.52, -20.63, 62.76)
CIE-LCHlch(76.52, 66.06, 108.20°)
OKLaboklab(79.05% -0.0625 0.1406)
OKLCHoklch(79.05% 0.154 114)
XYZxyz(41.1143, 50.7313, 12.3279)
Luminance0.5073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC53F #4A3FC5
analogous
#C58D3F #BAC53F #77C53F
triadic
#BAC53F #3FBAC5 #C53FBA
tetradic
#BAC53F #3FC58D #4A3FC5 #C53F77
square
#BAC53F #3FC58D #4A3FC5 #C53F77
split-complementary
#BAC53F #3F77C5 #8D3FC5
monochromatic
#646A20 #90992E #BAC53F #CBD36E #DCE19D

Accessibility & contrast

On white

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

On black

11.15
#BAC53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC53F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC53F#FFFFFF#000000##000000
##BAC53F1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2A
Deuteranopia (green-blind)
#D3BE49
Tritanopia (blue-blind)
#C6BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bac53f;
/* rgb */ color: rgb(186, 197, 63);
/* oklch */ color: oklch(79.0% 0.154 114.0);
Tailwind
colors: {
  custom: {
    50: '#d2d67c',
    500: '#bac53f',
    950: '#000000',
  },
}
SCSS
$custom: #bac53f;
$custom-light: #d2d67c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac53f",
  "rgb": {
    "r": 186,
    "g": 197,
    "b": 63
  },
  "hsl": {
    "h": 64.925,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79046,
    "c": 0.1539,
    "h": 114
  },
  "luminance": 0.5073
}

Semantic roles & 50–950 ramp

primary
#BAC53F
secondary
#3A3574
accent
#4BDD57
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC53F

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

Preview Lab → · Contrast checker → · Palette generator →

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