#BAB663#BAB663

#BAB663 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.106 H 106.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#BAB663
RGBrgb(186, 182, 99)
HSLhsl(57, 39%, 56%)
HSVhsv(57, 47%, 73%)
CMYKcmyk(0%, 2.2%, 46.8%, 27.1%)
CIE-LABlab(72.76, -10.30, 42.49)
CIE-LCHlch(72.76, 43.72, 103.63°)
OKLaboklab(76.16% -0.0295 0.1015)
OKLCHoklch(76.16% 0.106 106.2)
XYZxyz(39.2307, 44.7969, 18.3821)
Luminance0.4480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB663 #6367BA
analogous
#BA8A63 #BAB663 #92BA63
triadic
#BAB663 #63BAB6 #B663BA
tetradic
#BAB663 #63BA8A #6367BA #BA6392
square
#BAB663 #63BA8A #6367BA #BA6392
split-complementary
#BAB663 #6392BA #8A63BA
monochromatic
#716E32 #9B9745 #BAB663 #CDCA8D #E0DEB8

Accessibility & contrast

On white

2.11
#BAB663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#BAB663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB663
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB663#FFFFFF#000000##000000
##BAB6631.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B05C
Deuteranopia (green-blind)
#C4B467
Tritanopia (blue-blind)
#C5ADA2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab663;
/* rgb */ color: rgb(186, 182, 99);
/* oklch */ color: oklch(76.2% 0.106 106.2);
Tailwind
colors: {
  custom: {
    50: '#d0cb91',
    500: '#bab663',
    950: '#000000',
  },
}
SCSS
$custom: #bab663;
$custom-light: #d0cb91;
$custom-dark: #000000;
JSON
{
  "hex": "#bab663",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 99
  },
  "hsl": {
    "h": 57.241,
    "s": 38.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76157,
    "c": 0.10573,
    "h": 106.2
  },
  "luminance": 0.44796
}

Semantic roles & 50–950 ramp

primary
#BAB663
secondary
#AAACCE
accent
#5FCF59
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E

Preview Lab

Preview with #BAB663

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

Preview Lab → · Contrast checker → · Palette generator →

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