#BAB93B#BAB93B

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

Color values

HEX#BAB93B
RGBrgb(186, 185, 59)
HSLhsl(60, 52%, 48%)
HSVhsv(60, 68%, 73%)
CMYKcmyk(0%, 0.5%, 68.3%, 27.1%)
CIE-LABlab(73.19, -14.84, 60.94)
CIE-LCHlch(73.19, 62.73, 103.69°)
OKLaboklab(76.38% -0.0467 0.1362)
OKLCHoklch(76.38% 0.144 108.9)
XYZxyz(38.3894, 45.4539, 10.8881)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB93B #3B3CBA
analogous
#BA7A3B #BAB93B #7BBA3B
triadic
#BAB93B #3BBAB9 #B93BBA
tetradic
#BAB93B #3BBA7A #3B3CBA #BA3B7B
square
#BAB93B #3BBA7A #3B3CBA #BA3B7B
split-complementary
#BAB93B #3B7BBA #7A3BBA
monochromatic
#5D5D1E #8C8B2C #BAB93B #CECD64 #DDDC93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB93B#FFFFFF#000000##000000
##BAB93B1.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)
#C8B128
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#C7ADA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab93b;
/* rgb */ color: rgb(186, 185, 59);
/* oklch */ color: oklch(76.4% 0.144 108.9);
Tailwind
colors: {
  custom: {
    50: '#d2cd79',
    500: '#bab93b',
    950: '#000000',
  },
}
SCSS
$custom: #bab93b;
$custom-light: #d2cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab93b",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 59
  },
  "hsl": {
    "h": 59.528,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76377,
    "c": 0.14394,
    "h": 108.9
  },
  "luminance": 0.45453
}

Semantic roles & 50–950 ramp

primary
#BAB93B
secondary
#8989C8
accent
#4EDB4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB93B

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

Preview Lab → · Contrast checker → · Palette generator →

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