#BAB552#BAB552

#BAB552 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.121 H 106.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#BAB552
RGBrgb(186, 181, 82)
HSLhsl(57, 43%, 53%)
HSVhsv(57, 56%, 73%)
CMYKcmyk(0%, 2.7%, 55.9%, 27.1%)
CIE-LABlab(72.29, -11.27, 50.16)
CIE-LCHlch(72.29, 51.41, 102.67°)
OKLaboklab(75.72% -0.0341 0.1166)
OKLCHoklch(75.72% 0.121 106.3)
XYZxyz(38.2977, 44.0972, 14.4752)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB552 #5257BA
analogous
#BA8152 #BAB552 #8BBA52
triadic
#BAB552 #52BAB5 #B552BA
tetradic
#BAB552 #52BA81 #5257BA #BA528B
square
#BAB552 #52BA81 #5257BA #BA528B
split-complementary
#BAB552 #528BBA #8152BA
monochromatic
#68652A #94903B #BAB552 #CBC87E #DDDAAA

Accessibility & contrast

On white

2.14
#BAB552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#BAB552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB552
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB552#FFFFFF#000000##000000
##BAB5521.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab552;
/* rgb */ color: rgb(186, 181, 82);
/* oklch */ color: oklch(75.7% 0.121 106.3);
Tailwind
colors: {
  custom: {
    50: '#d1cb86',
    500: '#bab552',
    950: '#000000',
  },
}
SCSS
$custom: #bab552;
$custom-light: #d1cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#bab552",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 57.115,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75725,
    "c": 0.12146,
    "h": 106.3
  },
  "luminance": 0.44096
}

Semantic roles & 50–950 ramp

primary
#BAB552
secondary
#9D9FCA
accent
#5BD355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB552

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

Preview Lab → · Contrast checker → · Palette generator →

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