#BABB71#BABB71

#BABB71 is a light, moderate yellow. Relative luminance 0.472; OKLCH L 77.4% C 0.096 H 109.1°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#BABB71
RGBrgb(186, 187, 113)
HSLhsl(61, 35%, 59%)
HSVhsv(61, 40%, 73%)
CMYKcmyk(0.5%, 0%, 39.6%, 26.7%)
CIE-LABlab(74.30, -11.43, 37.33)
CIE-LCHlch(74.30, 39.04, 107.02°)
OKLaboklab(77.44% -0.0315 0.0909)
OKLCHoklch(77.44% 0.096 109.1)
XYZxyz(41.0012, 47.1728, 22.5650)
Luminance0.4717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABB71 #7271BB
analogous
#BB9771 #BABB71 #95BB71
triadic
#BABB71 #71BABB #BB71BA
tetradic
#BABB71 #71BB97 #7271BB #BB7195
square
#BABB71 #71BB97 #7271BB #BB7195
split-complementary
#BABB71 #7195BB #9771BB
monochromatic
#77783A #A0A14D #BABB71 #CECF9A #E2E3C4

Accessibility & contrast

On white

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

On black

10.43
#BABB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABB71
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABB71#FFFFFF#000000##000000
##BABB711.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B56B
Deuteranopia (green-blind)
#C7B874
Tritanopia (blue-blind)
#C3B3A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #babb71;
/* rgb */ color: rgb(186, 187, 113);
/* oklch */ color: oklch(77.4% 0.096 109.1);
Tailwind
colors: {
  custom: {
    50: '#d0cf9b',
    500: '#babb71',
    950: '#000000',
  },
}
SCSS
$custom: #babb71;
$custom-light: #d0cf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#babb71",
  "rgb": {
    "r": 186,
    "g": 187,
    "b": 113
  },
  "hsl": {
    "h": 60.811,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77445,
    "c": 0.09617,
    "h": 109.1
  },
  "luminance": 0.47172
}

Semantic roles & 50–950 ramp

primary
#BABB71
secondary
#B6B5D2
accent
#5DCB5E
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BABB71

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

Preview Lab → · Contrast checker → · Palette generator →

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