#BAB93A#BAB93A

#BAB93A is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.4% C 0.145 H 108.9°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#BAB93A
RGBrgb(186, 185, 58)
HSLhsl(60, 52%, 48%)
HSVhsv(60, 69%, 73%)
CMYKcmyk(0%, 0.5%, 68.8%, 27.1%)
CIE-LABlab(73.18, -14.90, 61.32)
CIE-LCHlch(73.18, 63.10, 103.65°)
OKLaboklab(76.37% -0.0469 0.1368)
OKLCHoklch(76.37% 0.145 108.9)
XYZxyz(38.3637, 45.4437, 10.7528)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB93A #3A3BBA
analogous
#BA793A #BAB93A #7BBA3A
triadic
#BAB93A #3ABAB9 #B93ABA
tetradic
#BAB93A #3ABA79 #3A3BBA #BA3A7B
square
#BAB93A #3ABA79 #3A3BBA #BA3A7B
split-complementary
#BAB93A #3A7BBA #793ABA
monochromatic
#5D5C1D #8B8B2B #BAB93A #CECD63 #DDDC92

Accessibility & contrast

On white

2.08
#BAB93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#BAB93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB93A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB93A#FFFFFF#000000##000000
##BAB93A1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B126
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#C7ADA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab93a;
/* rgb */ color: rgb(186, 185, 58);
/* oklch */ color: oklch(76.4% 0.145 108.9);
Tailwind
colors: {
  custom: {
    50: '#d2cd78',
    500: '#bab93a',
    950: '#000000',
  },
}
SCSS
$custom: #bab93a;
$custom-light: #d2cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#bab93a",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 58
  },
  "hsl": {
    "h": 59.531,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7637,
    "c": 0.14461,
    "h": 108.9
  },
  "luminance": 0.45443
}

Semantic roles & 50–950 ramp

primary
#BAB93A
secondary
#8888C8
accent
#4DDC4C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB93A

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

Preview Lab → · Contrast checker → · Palette generator →

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