#BAB050#BAB050

#BAB050 is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.118 H 103.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#BAB050
RGBrgb(186, 176, 80)
HSLhsl(54, 43%, 52%)
HSVhsv(54, 57%, 73%)
CMYKcmyk(0%, 5.4%, 57%, 27.1%)
CIE-LABlab(70.92, -8.83, 49.53)
CIE-LCHlch(70.92, 50.31, 100.11°)
OKLaboklab(74.63% -0.0273 0.115)
OKLCHoklch(74.63% 0.118 103.4)
XYZxyz(37.2242, 42.0703, 13.7474)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB050 #505ABA
analogous
#BA7B50 #BAB050 #8FBA50
triadic
#BAB050 #50BAB0 #B050BA
tetradic
#BAB050 #50BA7B #505ABA #BA508F
square
#BAB050 #50BA7B #505ABA #BA508F
split-complementary
#BAB050 #508FBA #7B50BA
monochromatic
#676129 #938A3A #BAB050 #CBC47C #DDD8A8

Accessibility & contrast

On white

2.23
#BAB050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#BAB050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB050
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB050#FFFFFF#000000##000000
##BAB0501.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB46
Deuteranopia (green-blind)
#C1B055
Tritanopia (blue-blind)
#C7A59B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab050;
/* rgb */ color: rgb(186, 176, 80);
/* oklch */ color: oklch(74.6% 0.118 103.4);
Tailwind
colors: {
  custom: {
    50: '#d1c784',
    500: '#bab050',
    950: '#000000',
  },
}
SCSS
$custom: #bab050;
$custom-light: #d1c784;
$custom-dark: #000000;
JSON
{
  "hex": "#bab050",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 80
  },
  "hsl": {
    "h": 54.34,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74626,
    "c": 0.11821,
    "h": 103.4
  },
  "luminance": 0.42069
}

Semantic roles & 50–950 ramp

primary
#BAB050
secondary
#9CA0CA
accent
#61D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB050

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

Preview Lab → · Contrast checker → · Palette generator →

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