#BAC434#BAC434

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

Color values

HEX#BAC434
RGBrgb(186, 196, 52)
HSLhsl(64, 58%, 49%)
HSVhsv(64, 73%, 77%)
CMYKcmyk(5.1%, 0%, 73.5%, 23.1%)
CIE-LABlab(76.17, -20.70, 66.36)
CIE-LCHlch(76.17, 69.51, 107.33°)
OKLaboklab(78.75% -0.0637 0.1464)
OKLCHoklch(78.75% 0.16 113.5)
XYZxyz(40.6107, 50.1677, 10.7922)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC434 #3E34C4
analogous
#C48634 #BAC434 #72C434
triadic
#BAC434 #34BAC4 #C434BA
tetradic
#BAC434 #34C486 #3E34C4 #C43472
square
#BAC434 #34C486 #3E34C4 #C43472
split-complementary
#BAC434 #3472C4 #8634C4
monochromatic
#5E631A #8C9427 #BAC434 #CDD560 #DCE291

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC434#FFFFFF#000000##000000
##BAC4341.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)
#D3BA15
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#C7B8A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bac434;
/* rgb */ color: rgb(186, 196, 52);
/* oklch */ color: oklch(78.7% 0.160 113.5);
Tailwind
colors: {
  custom: {
    50: '#d2d576',
    500: '#bac434',
    950: '#000000',
  },
}
SCSS
$custom: #bac434;
$custom-light: #d2d576;
$custom-dark: #000000;
JSON
{
  "hex": "#bac434",
  "rgb": {
    "r": 186,
    "g": 196,
    "b": 52
  },
  "hsl": {
    "h": 64.167,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.78749,
    "c": 0.15964,
    "h": 113.5
  },
  "luminance": 0.50167
}

Semantic roles & 50–950 ramp

primary
#BAC434
secondary
#332E6E
accent
#47E151
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #BAC434

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

Preview Lab → · Contrast checker → · Palette generator →

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