#BAB94F#BAB94F

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

Color values

HEX#BAB94F
RGBrgb(186, 185, 79)
HSLhsl(59, 44%, 52%)
HSVhsv(59, 58%, 73%)
CMYKcmyk(0%, 0.5%, 57.5%, 27.1%)
CIE-LABlab(73.35, -13.56, 52.72)
CIE-LCHlch(73.35, 54.44, 104.42°)
OKLaboklab(76.56% -0.0409 0.1217)
OKLCHoklch(76.56% 0.128 108.6)
XYZxyz(39.0111, 45.7026, 14.1621)
Luminance0.4570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB94F #4F50BA
analogous
#BA844F #BAB94F #86BA4F
triadic
#BAB94F #4FBAB9 #B94FBA
tetradic
#BAB94F #4FBA84 #4F50BA #BA4F86
square
#BAB94F #4FBA84 #4F50BA #BA4F86
split-complementary
#BAB94F #4F86BA #844FBA
monochromatic
#666628 #929239 #BAB94F #CBCA7B #DCDCA7

Accessibility & contrast

On white

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

On black

10.14
#BAB94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB94F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB94F#FFFFFF#000000##000000
##BAB94F1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab94f;
/* rgb */ color: rgb(186, 185, 79);
/* oklch */ color: oklch(76.6% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#d1cd84',
    500: '#bab94f',
    950: '#000000',
  },
}
SCSS
$custom: #bab94f;
$custom-light: #d1cd84;
$custom-dark: #000000;
JSON
{
  "hex": "#bab94f",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 79
  },
  "hsl": {
    "h": 59.439,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76559,
    "c": 0.1284,
    "h": 108.6
  },
  "luminance": 0.45702
}

Semantic roles & 50–950 ramp

primary
#BAB94F
secondary
#9B9BCA
accent
#56D354
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB94F

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

Preview Lab → · Contrast checker → · Palette generator →

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