#BAB53A#BAB53A

#BAB53A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.141 H 107.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#BAB53A
RGBrgb(186, 181, 58)
HSLhsl(58, 52%, 48%)
HSVhsv(58, 69%, 73%)
CMYKcmyk(0%, 2.7%, 68.8%, 27.1%)
CIE-LABlab(72.09, -12.85, 60.23)
CIE-LCHlch(72.09, 61.59, 102.05°)
OKLaboklab(75.5% -0.0412 0.1345)
OKLCHoklch(75.5% 0.141 107)
XYZxyz(37.5387, 43.7936, 10.4778)
Luminance0.4379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB53A #3A3FBA
analogous
#BA753A #BAB53A #7FBA3A
triadic
#BAB53A #3ABAB5 #B53ABA
tetradic
#BAB53A #3ABA75 #3A3FBA #BA3A7F
square
#BAB53A #3ABA75 #3A3FBA #BA3A7F
split-complementary
#BAB53A #3A7FBA #753ABA
monochromatic
#5D5A1D #8B882B #BAB53A #CECA63 #DDDA92

Accessibility & contrast

On white

2.15
#BAB53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#BAB53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB53A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB53A#FFFFFF#000000##000000
##BAB53A1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#C7A99C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab53a;
/* rgb */ color: rgb(186, 181, 58);
/* oklch */ color: oklch(75.5% 0.141 107.0);
Tailwind
colors: {
  custom: {
    50: '#d2ca78',
    500: '#bab53a',
    950: '#000000',
  },
}
SCSS
$custom: #bab53a;
$custom-light: #d2ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#bab53a",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 57.656,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75498,
    "c": 0.14065,
    "h": 107
  },
  "luminance": 0.43792
}

Semantic roles & 50–950 ramp

primary
#BAB53A
secondary
#888AC8
accent
#52DC4C
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB53A

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

Preview Lab → · Contrast checker → · Palette generator →

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