#BABC87#BABC87

#BABC87 is a light, moderate yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.071 H 109.7°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#BABC87
RGBrgb(186, 188, 135)
HSLhsl(62, 28%, 63%)
HSVhsv(62, 28%, 74%)
CMYKcmyk(1.1%, 0%, 28.2%, 26.3%)
CIE-LABlab(74.92, -9.25, 26.67)
CIE-LCHlch(74.92, 28.23, 109.12°)
OKLaboklab(78.05% -0.024 0.0669)
OKLCHoklch(78.05% 0.071 109.7)
XYZxyz(42.6061, 48.1554, 29.9674)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC87 #8987BC
analogous
#BCA387 #BABC87 #9FBC87
triadic
#BABC87 #87BABC #BC87BA
tetradic
#BABC87 #87BCA3 #8987BC #BC879F
square
#BABC87 #87BCA3 #8987BC #BC879F
split-complementary
#BABC87 #879FBC #A387BC
monochromatic
#7F8148 #A3A660 #BABC87 #D1D2AE #E7E8D6

Accessibility & contrast

On white

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

On black

10.63
#BABC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC87
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC87#FFFFFF#000000##000000
##BABC871.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B783
Deuteranopia (green-blind)
#C5B989
Tritanopia (blue-blind)
#C1B6AE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babc87;
/* rgb */ color: rgb(186, 188, 135);
/* oklch */ color: oklch(78.1% 0.071 109.7);
Tailwind
colors: {
  custom: {
    50: '#cfd0aa',
    500: '#babc87',
    950: '#000000',
  },
}
SCSS
$custom: #babc87;
$custom-light: #cfd0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#babc87",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 135
  },
  "hsl": {
    "h": 62.264,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.78055,
    "c": 0.07104,
    "h": 109.7
  },
  "luminance": 0.48155
}

Semantic roles & 50–950 ramp

primary
#BABC87
secondary
#C7C6D9
accent
#3FA742
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#141310
muted
#82827F

Preview Lab

Preview with #BABC87

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

Preview Lab → · Contrast checker → · Palette generator →

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