#BAB455#BAB455

#BAB455 is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.5% C 0.118 H 105.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#BAB455
RGBrgb(186, 180, 85)
HSLhsl(56, 42%, 53%)
HSVhsv(56, 54%, 73%)
CMYKcmyk(0%, 3.2%, 54.3%, 27.1%)
CIE-LABlab(72.05, -10.52, 48.47)
CIE-LCHlch(72.05, 49.60, 102.24°)
OKLaboklab(75.54% -0.0316 0.1133)
OKLCHoklch(75.54% 0.118 105.6)
XYZxyz(38.2118, 43.7387, 15.0221)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB455 #555BBA
analogous
#BA8155 #BAB455 #8DBA55
triadic
#BAB455 #55BAB4 #B455BA
tetradic
#BAB455 #55BA81 #555BBA #BA558D
square
#BAB455 #55BA81 #555BBA #BA558D
split-complementary
#BAB455 #558DBA #8155BA
monochromatic
#6A662B #95903D #BAB455 #CCC781 #DDDAAC

Accessibility & contrast

On white

2.15
#BAB455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#BAB455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB455
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB455#FFFFFF#000000##000000
##BAB4551.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4C
Deuteranopia (green-blind)
#C4B35A
Tritanopia (blue-blind)
#C6AA9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab455;
/* rgb */ color: rgb(186, 180, 85);
/* oklch */ color: oklch(75.5% 0.118 105.6);
Tailwind
colors: {
  custom: {
    50: '#d1ca88',
    500: '#bab455',
    950: '#000000',
  },
}
SCSS
$custom: #bab455;
$custom-light: #d1ca88;
$custom-dark: #000000;
JSON
{
  "hex": "#bab455",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 85
  },
  "hsl": {
    "h": 56.436,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75544,
    "c": 0.11761,
    "h": 105.6
  },
  "luminance": 0.43737
}

Semantic roles & 50–950 ramp

primary
#BAB455
secondary
#A0A2CB
accent
#5DD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB455

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

Preview Lab → · Contrast checker → · Palette generator →

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