#BAB950#BAB950

#BAB950 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#BAB950
RGBrgb(186, 185, 80)
HSLhsl(59, 43%, 52%)
HSVhsv(59, 57%, 73%)
CMYKcmyk(0%, 0.5%, 57%, 27.1%)
CIE-LABlab(73.36, -13.48, 52.28)
CIE-LCHlch(73.36, 53.99, 104.46°)
OKLaboklab(76.57% -0.0406 0.1209)
OKLCHoklch(76.57% 0.128 108.6)
XYZxyz(39.0477, 45.7173, 14.3553)
Luminance0.4572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB950 #5051BA
analogous
#BA8450 #BAB950 #86BA50
triadic
#BAB950 #50BAB9 #B950BA
tetradic
#BAB950 #50BA84 #5051BA #BA5086
square
#BAB950 #50BA84 #5051BA #BA5086
split-complementary
#BAB950 #5086BA #8450BA
monochromatic
#676629 #93923A #BAB950 #CBCB7C #DDDCA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB950#FFFFFF#000000##000000
##BAB9501.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)
#C7B245
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#C6AEA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab950;
/* rgb */ color: rgb(186, 185, 80);
/* oklch */ color: oklch(76.6% 0.128 108.6);
Tailwind
colors: {
  custom: {
    50: '#d1cd85',
    500: '#bab950',
    950: '#000000',
  },
}
SCSS
$custom: #bab950;
$custom-light: #d1cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#bab950",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 59.434,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7657,
    "c": 0.12752,
    "h": 108.6
  },
  "luminance": 0.45716
}

Semantic roles & 50–950 ramp

primary
#BAB950
secondary
#9C9CCA
accent
#56D355
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB950

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

Preview Lab → · Contrast checker → · Palette generator →

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