#BAB960#BAB960

#BAB960 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 76.8% C 0.112 H 108.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#BAB960
RGBrgb(186, 185, 96)
HSLhsl(59, 39%, 55%)
HSVhsv(59, 48%, 73%)
CMYKcmyk(0%, 0.5%, 48.4%, 27.1%)
CIE-LABlab(73.53, -12.13, 44.91)
CIE-LCHlch(73.53, 46.52, 105.12°)
OKLaboklab(76.76% -0.035 0.1066)
OKLCHoklch(76.76% 0.112 108.2)
XYZxyz(39.7109, 45.9825, 17.8477)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB960 #6061BA
analogous
#BA8C60 #BAB960 #8EBA60
triadic
#BAB960 #60BAB9 #B960BA
tetradic
#BAB960 #60BA8C #6061BA #BA608E
square
#BAB960 #60BA8C #6061BA #BA608E
split-complementary
#BAB960 #608EBA #8C60BA
monochromatic
#6F6F30 #9A9943 #BAB960 #CDCC8B #DFDFB5

Accessibility & contrast

On white

2.06
#BAB960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#BAB960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB960
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB960#FFFFFF#000000##000000
##BAB9601.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B358
Deuteranopia (green-blind)
#C7B664
Tritanopia (blue-blind)
#C5AFA4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #bab960;
/* rgb */ color: rgb(186, 185, 96);
/* oklch */ color: oklch(76.8% 0.112 108.2);
Tailwind
colors: {
  custom: {
    50: '#d0cd8f',
    500: '#bab960',
    950: '#000000',
  },
}
SCSS
$custom: #bab960;
$custom-light: #d0cd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#bab960",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 96
  },
  "hsl": {
    "h": 59.333,
    "s": 39.474,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76763,
    "c": 0.11222,
    "h": 108.2
  },
  "luminance": 0.45982
}

Semantic roles & 50–950 ramp

primary
#BAB960
secondary
#A8A9CE
accent
#5ACF58
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BAB960

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

Preview Lab → · Contrast checker → · Palette generator →

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