#BAB052#BAB052

#BAB052 is a light, moderate yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.116 H 103.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#BAB052
RGBrgb(186, 176, 82)
HSLhsl(54, 43%, 53%)
HSVhsv(54, 56%, 73%)
CMYKcmyk(0%, 5.4%, 55.9%, 27.1%)
CIE-LABlab(70.94, -8.68, 48.61)
CIE-LCHlch(70.94, 49.38, 100.12°)
OKLaboklab(74.65% -0.0267 0.1133)
OKLCHoklch(74.65% 0.116 103.3)
XYZxyz(37.2992, 42.1003, 14.1424)
Luminance0.4210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB052 #525CBA
analogous
#BA7C52 #BAB052 #90BA52
triadic
#BAB052 #52BAB0 #B052BA
tetradic
#BAB052 #52BA7C #525CBA #BA5290
square
#BAB052 #52BA7C #525CBA #BA5290
split-complementary
#BAB052 #5290BA #7C52BA
monochromatic
#68622A #948B3B #BAB052 #CBC47E #DDD8AA

Accessibility & contrast

On white

2.23
#BAB052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#BAB052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB052
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB052#FFFFFF#000000##000000
##BAB0521.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB49
Deuteranopia (green-blind)
#C1B057
Tritanopia (blue-blind)
#C7A59B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab052;
/* rgb */ color: rgb(186, 176, 82);
/* oklch */ color: oklch(74.6% 0.116 103.3);
Tailwind
colors: {
  custom: {
    50: '#d1c786',
    500: '#bab052',
    950: '#000000',
  },
}
SCSS
$custom: #bab052;
$custom-light: #d1c786;
$custom-dark: #000000;
JSON
{
  "hex": "#bab052",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 54.231,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74649,
    "c": 0.11636,
    "h": 103.3
  },
  "luminance": 0.42099
}

Semantic roles & 50–950 ramp

primary
#BAB052
secondary
#9DA2CA
accent
#61D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB052

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

Preview Lab → · Contrast checker → · Palette generator →

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