#BAB653#BAB653

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

Color values

HEX#BAB653
RGBrgb(186, 182, 83)
HSLhsl(58, 43%, 53%)
HSVhsv(58, 55%, 73%)
CMYKcmyk(0%, 2.2%, 55.4%, 27.1%)
CIE-LABlab(72.58, -11.71, 50.01)
CIE-LCHlch(72.58, 51.36, 103.18°)
OKLaboklab(75.95% -0.0352 0.1164)
OKLCHoklch(75.95% 0.122 106.8)
XYZxyz(38.5401, 44.5207, 14.7451)
Luminance0.4452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB653 #5357BA
analogous
#BA8253 #BAB653 #8ABA53
triadic
#BAB653 #53BAB6 #B653BA
tetradic
#BAB653 #53BA82 #5357BA #BA538A
square
#BAB653 #53BA82 #5357BA #BA538A
split-complementary
#BAB653 #538ABA #8253BA
monochromatic
#69662A #94913B #BAB653 #CCC97F #DDDBAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB653#FFFFFF#000000##000000
##BAB6531.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)
#C4B049
Deuteranopia (green-blind)
#C6B458
Tritanopia (blue-blind)
#C6ABA0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab653;
/* rgb */ color: rgb(186, 182, 83);
/* oklch */ color: oklch(76.0% 0.122 106.8);
Tailwind
colors: {
  custom: {
    50: '#d1cb87',
    500: '#bab653',
    950: '#000000',
  },
}
SCSS
$custom: #bab653;
$custom-light: #d1cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#bab653",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 83
  },
  "hsl": {
    "h": 57.67,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75953,
    "c": 0.12159,
    "h": 106.8
  },
  "luminance": 0.4452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB653

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

Preview Lab → · Contrast checker → · Palette generator →

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