#BAB652#BAB652

#BAB652 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.9% C 0.123 H 106.9°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#BAB652
RGBrgb(186, 182, 82)
HSLhsl(58, 43%, 53%)
HSVhsv(58, 56%, 73%)
CMYKcmyk(0%, 2.2%, 55.9%, 27.1%)
CIE-LABlab(72.56, -11.79, 50.46)
CIE-LCHlch(72.56, 51.82, 103.15°)
OKLaboklab(75.94% -0.0356 0.1172)
OKLCHoklch(75.94% 0.123 106.9)
XYZxyz(38.5018, 44.5053, 14.5432)
Luminance0.4450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB652 #5256BA
analogous
#BA8252 #BAB652 #8ABA52
triadic
#BAB652 #52BAB6 #B652BA
tetradic
#BAB652 #52BA82 #5256BA #BA528A
square
#BAB652 #52BA82 #5256BA #BA528A
split-complementary
#BAB652 #528ABA #8252BA
monochromatic
#68662A #94903B #BAB652 #CBC87E #DDDBAA

Accessibility & contrast

On white

2.12
#BAB652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#BAB652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB652
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB652#FFFFFF#000000##000000
##BAB6521.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C6B457
Tritanopia (blue-blind)
#C6ABA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab652;
/* rgb */ color: rgb(186, 182, 82);
/* oklch */ color: oklch(75.9% 0.123 106.9);
Tailwind
colors: {
  custom: {
    50: '#d1cb86',
    500: '#bab652',
    950: '#000000',
  },
}
SCSS
$custom: #bab652;
$custom-light: #d1cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#bab652",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 57.692,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75941,
    "c": 0.12251,
    "h": 106.9
  },
  "luminance": 0.44504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB652

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

Preview Lab → · Contrast checker → · Palette generator →

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