#BABC7B#BABC7B

#BABC7B is a light, moderate yellow. Relative luminance 0.478; OKLCH L 77.8% C 0.086 H 109.7°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#BABC7B
RGBrgb(186, 188, 123)
HSLhsl(62, 33%, 61%)
HSVhsv(62, 35%, 74%)
CMYKcmyk(1.1%, 0%, 34.6%, 26.3%)
CIE-LABlab(74.72, -10.78, 32.71)
CIE-LCHlch(74.72, 34.44, 108.25°)
OKLaboklab(77.83% -0.0289 0.0807)
OKLCHoklch(77.83% 0.086 109.7)
XYZxyz(41.8084, 47.8363, 25.7659)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC7B #7D7BBC
analogous
#BC9D7B #BABC7B #99BC7B
triadic
#BABC7B #7BBABC #BC7BBA
tetradic
#BABC7B #7BBC9D #7D7BBC #BC7B99
square
#BABC7B #7BBC9D #7D7BBC #BC7B99
split-complementary
#BABC7B #7B99BC #9D7BBC
monochromatic
#7B7D3F #A3A654 #BABC7B #CFD1A4 #E4E5CC

Accessibility & contrast

On white

1.99
#BABC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#BABC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC7B
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC7B#FFFFFF#000000##000000
##BABC7B1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B776
Deuteranopia (green-blind)
#C7B97E
Tritanopia (blue-blind)
#C2B4AC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babc7b;
/* rgb */ color: rgb(186, 188, 123);
/* oklch */ color: oklch(77.8% 0.086 109.7);
Tailwind
colors: {
  custom: {
    50: '#cfd0a2',
    500: '#babc7b',
    950: '#000000',
  },
}
SCSS
$custom: #babc7b;
$custom-light: #cfd0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#babc7b",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 123
  },
  "hsl": {
    "h": 61.846,
    "s": 32.663,
    "l": 60.98
  },
  "oklch": {
    "l": 0.77829,
    "c": 0.08574,
    "h": 109.7
  },
  "luminance": 0.47836
}

Semantic roles & 50–950 ramp

primary
#BABC7B
secondary
#BEBDD6
accent
#3AAB3E
background
#FCFCFA
surface
#F9F9F3
border
#D2D2CD
text
#14130F
muted
#82827F

Preview Lab

Preview with #BABC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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