#BAB94D#BAB94D

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

Color values

HEX#BAB94D
RGBrgb(186, 185, 77)
HSLhsl(59, 44%, 52%)
HSVhsv(59, 59%, 73%)
CMYKcmyk(0%, 0.5%, 58.6%, 27.1%)
CIE-LABlab(73.33, -13.70, 53.60)
CIE-LCHlch(73.33, 55.32, 104.34°)
OKLaboklab(76.54% -0.0415 0.1233)
OKLCHoklch(76.54% 0.13 108.6)
XYZxyz(38.9394, 45.6739, 13.7845)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB94D #4D4EBA
analogous
#BA834D #BAB94D #85BA4D
triadic
#BAB94D #4DBAB9 #B94DBA
tetradic
#BAB94D #4DBA83 #4D4EBA #BA4D85
square
#BAB94D #4DBA83 #4D4EBA #BA4D85
split-complementary
#BAB94D #4D85BA #834DBA
monochromatic
#656527 #919138 #BAB94D #CBCA79 #DCDCA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB94D#FFFFFF#000000##000000
##BAB94D1.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)
#C7B241
Deuteranopia (green-blind)
#C9B653
Tritanopia (blue-blind)
#C6AEA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab94d;
/* rgb */ color: rgb(186, 185, 77);
/* oklch */ color: oklch(76.5% 0.130 108.6);
Tailwind
colors: {
  custom: {
    50: '#d1cd83',
    500: '#bab94d',
    950: '#000000',
  },
}
SCSS
$custom: #bab94d;
$custom-light: #d1cd83;
$custom-dark: #000000;
JSON
{
  "hex": "#bab94d",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 77
  },
  "hsl": {
    "h": 59.45,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76538,
    "c": 0.13013,
    "h": 108.6
  },
  "luminance": 0.45673
}

Semantic roles & 50–950 ramp

primary
#BAB94D
secondary
#999AC9
accent
#55D454
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB94D

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

Preview Lab → · Contrast checker → · Palette generator →

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