#BAB366#BAB366

#BAB366 is a light, moderate yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.099 H 103.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#BAB366
RGBrgb(186, 179, 102)
HSLhsl(55, 38%, 56%)
HSVhsv(55, 45%, 73%)
CMYKcmyk(0%, 3.8%, 45.2%, 27.1%)
CIE-LABlab(71.99, -8.44, 40.04)
CIE-LCHlch(71.99, 40.92, 101.91°)
OKLaboklab(75.56% -0.0239 0.0963)
OKLCHoklch(75.56% 0.099 103.9)
XYZxyz(38.7689, 43.6397, 18.9489)
Luminance0.4364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB366 #666DBA
analogous
#BA8966 #BAB366 #97BA66
triadic
#BAB366 #66BAB3 #B366BA
tetradic
#BAB366 #66BA89 #666DBA #BA6697
square
#BAB366 #66BA89 #666DBA #BA6697
split-complementary
#BAB366 #6697BA #8966BA
monochromatic
#726D33 #9C9546 #BAB366 #CDC890 #E0DDBA

Accessibility & contrast

On white

2.16
#BAB366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#BAB366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB366
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB366#FFFFFF#000000##000000
##BAB3661.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAE60
Deuteranopia (green-blind)
#C2B269
Tritanopia (blue-blind)
#C5AAA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab366;
/* rgb */ color: rgb(186, 179, 102);
/* oklch */ color: oklch(75.6% 0.099 103.9);
Tailwind
colors: {
  custom: {
    50: '#d0c993',
    500: '#bab366',
    950: '#000000',
  },
}
SCSS
$custom: #bab366;
$custom-light: #d0c993;
$custom-dark: #000000;
JSON
{
  "hex": "#bab366",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 55,
    "s": 37.838,
    "l": 56.471
  },
  "oklch": {
    "l": 0.75557,
    "c": 0.09921,
    "h": 103.9
  },
  "luminance": 0.43639
}

Semantic roles & 50–950 ramp

primary
#BAB366
secondary
#ADB0CF
accent
#64CE5A
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E

Preview Lab

Preview with #BAB366

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

Preview Lab → · Contrast checker → · Palette generator →

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