#BAB155#BAB155

#BAB155 is a light, moderate yellow. Relative luminance 0.425; OKLCH L 74.9% C 0.115 H 103.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#BAB155
RGBrgb(186, 177, 85)
HSLhsl(55, 42%, 53%)
HSVhsv(55, 54%, 73%)
CMYKcmyk(0%, 4.8%, 54.3%, 27.1%)
CIE-LABlab(71.24, -8.96, 47.53)
CIE-LCHlch(71.24, 48.37, 100.67°)
OKLaboklab(74.9% -0.0271 0.1113)
OKLCHoklch(74.9% 0.115 103.7)
XYZxyz(37.6127, 42.5405, 14.8224)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB155 #555EBA
analogous
#BA7E55 #BAB155 #91BA55
triadic
#BAB155 #55BAB1 #B155BA
tetradic
#BAB155 #55BA7E #555EBA #BA5591
square
#BAB155 #55BA7E #555EBA #BA5591
split-complementary
#BAB155 #5591BA #7E55BA
monochromatic
#6A642B #958D3D #BAB155 #CCC581 #DDD9AC

Accessibility & contrast

On white

2.21
#BAB155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#BAB155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB155
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB155#FFFFFF#000000##000000
##BAB1551.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4C
Deuteranopia (green-blind)
#C2B15A
Tritanopia (blue-blind)
#C6A79C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab155;
/* rgb */ color: rgb(186, 177, 85);
/* oklch */ color: oklch(74.9% 0.115 103.7);
Tailwind
colors: {
  custom: {
    50: '#d1c888',
    500: '#bab155',
    950: '#000000',
  },
}
SCSS
$custom: #bab155;
$custom-light: #d1c888;
$custom-dark: #000000;
JSON
{
  "hex": "#bab155",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 54.653,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74899,
    "c": 0.11453,
    "h": 103.7
  },
  "luminance": 0.42539
}

Semantic roles & 50–950 ramp

primary
#BAB155
secondary
#A0A4CB
accent
#61D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB155

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

Preview Lab → · Contrast checker → · Palette generator →

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