#BABB76#BABB76

#BABB76 is a light, moderate yellow. Relative luminance 0.473; OKLCH L 77.5% C 0.090 H 109.0°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#BABB76
RGBrgb(186, 187, 118)
HSLhsl(61, 34%, 60%)
HSVhsv(61, 37%, 73%)
CMYKcmyk(0.5%, 0%, 36.9%, 26.7%)
CIE-LABlab(74.37, -10.86, 34.86)
CIE-LCHlch(74.37, 36.51, 107.31°)
OKLaboklab(77.53% -0.0295 0.0855)
OKLCHoklch(77.53% 0.09 109)
XYZxyz(41.2905, 47.2885, 24.0885)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB76 #7776BB
analogous
#BB9A76 #BABB76 #97BB76
triadic
#BABB76 #76BABB #BB76BA
tetradic
#BABB76 #76BB9A #7776BB #BB7697
square
#BABB76 #76BB9A #7776BB #BB7697
split-complementary
#BABB76 #7697BB #9A76BB
monochromatic
#797A3D #A2A351 #BABB76 #CFCF9F #E3E4C8

Accessibility & contrast

On white

2.01
#BABB76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#BABB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB76
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB76#FFFFFF#000000##000000
##BABB761.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B671
Deuteranopia (green-blind)
#C6B879
Tritanopia (blue-blind)
#C3B3AA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babb76;
/* rgb */ color: rgb(186, 187, 118);
/* oklch */ color: oklch(77.5% 0.090 109.0);
Tailwind
colors: {
  custom: {
    50: '#d0cf9e',
    500: '#babb76',
    950: '#000000',
  },
}
SCSS
$custom: #babb76;
$custom-light: #d0cf9e;
$custom-dark: #000000;
JSON
{
  "hex": "#babb76",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 118
  },
  "hsl": {
    "h": 60.87,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77527,
    "c": 0.0904,
    "h": 109
  },
  "luminance": 0.47288
}

Semantic roles & 50–950 ramp

primary
#BABB76
secondary
#B9B9D4
accent
#5ECA60
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BABB76

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

Preview Lab → · Contrast checker → · Palette generator →

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