#BAC32F#BAC32F

#BAC32F is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.161 H 113.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#BAC32F
RGBrgb(186, 195, 47)
HSLhsl(64, 61%, 47%)
HSVhsv(64, 76%, 76%)
CMYKcmyk(4.6%, 0%, 75.9%, 23.5%)
CIE-LABlab(75.87, -20.43, 67.70)
CIE-LCHlch(75.87, 70.71, 106.79°)
OKLaboklab(78.5% -0.0634 0.1483)
OKLCHoklch(78.5% 0.161 113.1)
XYZxyz(40.2792, 49.6755, 10.1553)
Luminance0.4968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC32F #382FC3
analogous
#C3822F #BAC32F #70C32F
triadic
#BAC32F #2FBAC3 #C32FBA
tetradic
#BAC32F #2FC382 #382FC3 #C32F70
square
#BAC32F #2FC382 #382FC3 #C32F70
split-complementary
#BAC32F #2F70C3 #822FC3
monochromatic
#5C6017 #8B9223 #BAC32F #CFD758 #DDE38A

Accessibility & contrast

On white

1.92
#BAC32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#BAC32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC32F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC32F#FFFFFF#000000##000000
##BAC32F1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA06
Deuteranopia (green-blind)
#D2BC3C
Tritanopia (blue-blind)
#C7B7A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac32f;
/* rgb */ color: rgb(186, 195, 47);
/* oklch */ color: oklch(78.5% 0.161 113.1);
Tailwind
colors: {
  custom: {
    50: '#d3d574',
    500: '#bac32f',
    950: '#000000',
  },
}
SCSS
$custom: #bac32f;
$custom-light: #d3d574;
$custom-dark: #000000;
JSON
{
  "hex": "#bac32f",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 47
  },
  "hsl": {
    "h": 63.649,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78498,
    "c": 0.16131,
    "h": 113.1
  },
  "luminance": 0.49675
}

Semantic roles & 50–950 ramp

primary
#BAC32F
secondary
#8681CD
accent
#44E44D
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #BAC32F

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

Preview Lab → · Contrast checker → · Palette generator →

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