#BAB94B#BAB94B

#BAB94B is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.5% C 0.132 H 108.7°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#BAB94B
RGBrgb(186, 185, 75)
HSLhsl(59, 45%, 51%)
HSVhsv(59, 60%, 73%)
CMYKcmyk(0%, 0.5%, 59.7%, 27.1%)
CIE-LABlab(73.32, -13.85, 54.46)
CIE-LCHlch(73.32, 56.20, 104.27°)
OKLaboklab(76.52% -0.0422 0.1249)
OKLCHoklch(76.52% 0.132 108.7)
XYZxyz(38.8698, 45.6461, 13.4183)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB94B #4B4CBA
analogous
#BA814B #BAB94B #83BA4B
triadic
#BAB94B #4BBAB9 #B94BBA
tetradic
#BAB94B #4BBA81 #4B4CBA #BA4B83
square
#BAB94B #4BBA81 #4B4CBA #BA4B83
split-complementary
#BAB94B #4B83BA #814BBA
monochromatic
#646426 #909037 #BAB94B #CBCA77 #DCDBA3

Accessibility & contrast

On white

2.07
#BAB94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#BAB94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB94B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB94B#FFFFFF#000000##000000
##BAB94B1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23E
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#C6AEA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab94b;
/* rgb */ color: rgb(186, 185, 75);
/* oklch */ color: oklch(76.5% 0.132 108.7);
Tailwind
colors: {
  custom: {
    50: '#d1cd82',
    500: '#bab94b',
    950: '#000000',
  },
}
SCSS
$custom: #bab94b;
$custom-light: #d1cd82;
$custom-dark: #000000;
JSON
{
  "hex": "#bab94b",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 75
  },
  "hsl": {
    "h": 59.459,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76518,
    "c": 0.13183,
    "h": 108.7
  },
  "luminance": 0.45645
}

Semantic roles & 50–950 ramp

primary
#BAB94B
secondary
#9898C9
accent
#55D454
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB94B

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

Preview Lab → · Contrast checker → · Palette generator →

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