#BAB855#BAB855

#BAB855 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.4% C 0.122 H 107.9°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#BAB855
RGBrgb(186, 184, 85)
HSLhsl(59, 42%, 53%)
HSVhsv(59, 54%, 73%)
CMYKcmyk(0%, 1.1%, 54.3%, 27.1%)
CIE-LABlab(73.14, -12.58, 49.72)
CIE-LCHlch(73.14, 51.29, 104.20°)
OKLaboklab(76.41% -0.0375 0.116)
OKLCHoklch(76.41% 0.122 107.9)
XYZxyz(39.0309, 45.3770, 15.2952)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB855 #5557BA
analogous
#BA8555 #BAB855 #89BA55
triadic
#BAB855 #55BAB8 #B855BA
tetradic
#BAB855 #55BA85 #5557BA #BA5589
square
#BAB855 #55BA85 #5557BA #BA5589
split-complementary
#BAB855 #5589BA #8555BA
monochromatic
#6A682B #95933D #BAB855 #CCCA81 #DDDCAC

Accessibility & contrast

On white

2.08
#BAB855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#BAB855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB855
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB855#FFFFFF#000000##000000
##BAB8551.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14B
Deuteranopia (green-blind)
#C7B55A
Tritanopia (blue-blind)
#C6AEA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab855;
/* rgb */ color: rgb(186, 184, 85);
/* oklch */ color: oklch(76.4% 0.122 107.9);
Tailwind
colors: {
  custom: {
    50: '#d1cd88',
    500: '#bab855',
    950: '#000000',
  },
}
SCSS
$custom: #bab855;
$custom-light: #d1cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#bab855",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 85
  },
  "hsl": {
    "h": 58.812,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76409,
    "c": 0.1219,
    "h": 107.9
  },
  "luminance": 0.45376
}

Semantic roles & 50–950 ramp

primary
#BAB855
secondary
#A0A0CB
accent
#58D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BAB855

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

Preview Lab → · Contrast checker → · Palette generator →

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