#BAB355#BAB355

#BAB355 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.117 H 105.0°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#BAB355
RGBrgb(186, 179, 85)
HSLhsl(56, 42%, 53%)
HSVhsv(56, 54%, 73%)
CMYKcmyk(0%, 3.8%, 54.3%, 27.1%)
CIE-LABlab(71.78, -10.00, 48.16)
CIE-LCHlch(71.78, 49.19, 101.73°)
OKLaboklab(75.33% -0.0301 0.1126)
OKLCHoklch(75.33% 0.117 105)
XYZxyz(38.0106, 43.3364, 14.9551)
Luminance0.4334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB355 #555CBA
analogous
#BA8155 #BAB355 #8EBA55
triadic
#BAB355 #55BAB3 #B355BA
tetradic
#BAB355 #55BA81 #555CBA #BA558E
square
#BAB355 #55BA81 #555CBA #BA558E
split-complementary
#BAB355 #558EBA #8155BA
monochromatic
#6A652B #958F3D #BAB355 #CCC681 #DDDAAC

Accessibility & contrast

On white

2.17
#BAB355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#BAB355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB355
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB355#FFFFFF#000000##000000
##BAB3551.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD4C
Deuteranopia (green-blind)
#C3B25A
Tritanopia (blue-blind)
#C6A99E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab355;
/* rgb */ color: rgb(186, 179, 85);
/* oklch */ color: oklch(75.3% 0.117 105.0);
Tailwind
colors: {
  custom: {
    50: '#d1c988',
    500: '#bab355',
    950: '#000000',
  },
}
SCSS
$custom: #bab355;
$custom-light: #d1c988;
$custom-dark: #000000;
JSON
{
  "hex": "#bab355",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 85
  },
  "hsl": {
    "h": 55.842,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75329,
    "c": 0.11658,
    "h": 105
  },
  "luminance": 0.43335
}

Semantic roles & 50–950 ramp

primary
#BAB355
secondary
#A0A3CB
accent
#5ED256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB355

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

Preview Lab → · Contrast checker → · Palette generator →

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