#BAC431#BAC431

#BAC431 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.7% C 0.161 H 113.5°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#BAC431
RGBrgb(186, 196, 49)
HSLhsl(64, 60%, 48%)
HSVhsv(64, 75%, 77%)
CMYKcmyk(5.1%, 0%, 75%, 23.1%)
CIE-LABlab(76.16, -20.84, 67.33)
CIE-LCHlch(76.16, 70.48, 107.20°)
OKLaboklab(78.73% -0.0643 0.1479)
OKLCHoklch(78.73% 0.161 113.5)
XYZxyz(40.5453, 50.1416, 10.4476)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC431 #3B31C4
analogous
#C48531 #BAC431 #70C431
triadic
#BAC431 #31BAC4 #C431BA
tetradic
#BAC431 #31C485 #3B31C4 #C43170
square
#BAC431 #31C485 #3B31C4 #C43170
split-complementary
#BAC431 #3170C4 #8531C4
monochromatic
#5D6219 #8C9325 #BAC431 #CED65C #DDE28D

Accessibility & contrast

On white

1.90
#BAC431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#BAC431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC431
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC431#FFFFFF#000000##000000
##BAC4311.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BA0C
Deuteranopia (green-blind)
#D3BD3E
Tritanopia (blue-blind)
#C7B8A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac431;
/* rgb */ color: rgb(186, 196, 49);
/* oklch */ color: oklch(78.7% 0.161 113.5);
Tailwind
colors: {
  custom: {
    50: '#d2d575',
    500: '#bac431',
    950: '#000000',
  },
}
SCSS
$custom: #bac431;
$custom-light: #d2d575;
$custom-dark: #000000;
JSON
{
  "hex": "#bac431",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 49
  },
  "hsl": {
    "h": 64.082,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78731,
    "c": 0.1613,
    "h": 113.5
  },
  "luminance": 0.50141
}

Semantic roles & 50–950 ramp

primary
#BAC431
secondary
#312C6D
accent
#45E34F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC431

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

Preview Lab → · Contrast checker → · Palette generator →

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