#BABC7E#BABC7E

#BABC7E is a light, moderate yellow. Relative luminance 0.479; OKLCH L 77.9% C 0.082 H 109.7°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#BABC7E
RGBrgb(186, 188, 126)
HSLhsl(62, 32%, 62%)
HSVhsv(62, 33%, 74%)
CMYKcmyk(1.1%, 0%, 33%, 26.3%)
CIE-LABlab(74.77, -10.41, 31.21)
CIE-LCHlch(74.77, 32.90, 108.45°)
OKLaboklab(77.88% -0.0277 0.0773)
OKLCHoklch(77.88% 0.082 109.7)
XYZxyz(41.9991, 47.9126, 26.7702)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC7E #807EBC
analogous
#BC9F7E #BABC7E #9BBC7E
triadic
#BABC7E #7EBABC #BC7EBA
tetradic
#BABC7E #7EBC9F #807EBC #BC7E9B
square
#BABC7E #7EBC9F #807EBC #BC7E9B
split-complementary
#BABC7E #7E9BBC #9F7EBC
monochromatic
#7C7E41 #A4A656 #BABC7E #D0D1A6 #E5E6CF

Accessibility & contrast

On white

1.98
#BABC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#BABC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC7E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC7E#FFFFFF#000000##000000
##BABC7E1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B77A
Deuteranopia (green-blind)
#C6B981
Tritanopia (blue-blind)
#C2B5AC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babc7e;
/* rgb */ color: rgb(186, 188, 126);
/* oklch */ color: oklch(77.9% 0.082 109.7);
Tailwind
colors: {
  custom: {
    50: '#cfd0a4',
    500: '#babc7e',
    950: '#000000',
  },
}
SCSS
$custom: #babc7e;
$custom-light: #cfd0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#babc7e",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 126
  },
  "hsl": {
    "h": 61.935,
    "s": 31.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.77883,
    "c": 0.08213,
    "h": 109.7
  },
  "luminance": 0.47912
}

Semantic roles & 50–950 ramp

primary
#BABC7E
secondary
#C0BFD6
accent
#3BAA3F
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BABC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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