#BABC79#BABC79

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

Color values

HEX#BABC79
RGBrgb(186, 188, 121)
HSLhsl(62, 33%, 61%)
HSVhsv(62, 36%, 74%)
CMYKcmyk(1.1%, 0%, 35.6%, 26.3%)
CIE-LABlab(74.69, -11.02, 33.71)
CIE-LCHlch(74.69, 35.47, 108.11°)
OKLaboklab(77.79% -0.0298 0.0829)
OKLCHoklch(77.79% 0.088 109.7)
XYZxyz(41.6845, 47.7867, 25.1133)
Luminance0.4779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC79 #7B79BC
analogous
#BC9C79 #BABC79 #98BC79
triadic
#BABC79 #79BABC #BC79BA
tetradic
#BABC79 #79BC9C #7B79BC #BC7998
square
#BABC79 #79BC9C #7B79BC #BC7998
split-complementary
#BABC79 #7998BC #9C79BC
monochromatic
#7B7C3E #A3A553 #BABC79 #CFD0A2 #E4E5CB

Accessibility & contrast

On white

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

On black

10.56
#BABC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC79
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC79#FFFFFF#000000##000000
##BABC791.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B674
Deuteranopia (green-blind)
#C7B97C
Tritanopia (blue-blind)
#C3B4AB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #babc79;
/* rgb */ color: rgb(186, 188, 121);
/* oklch */ color: oklch(77.8% 0.088 109.7);
Tailwind
colors: {
  custom: {
    50: '#cfd0a0',
    500: '#babc79',
    950: '#000000',
  },
}
SCSS
$custom: #babc79;
$custom-light: #cfd0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#babc79",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 121
  },
  "hsl": {
    "h": 61.791,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.77794,
    "c": 0.08812,
    "h": 109.7
  },
  "luminance": 0.47786
}

Semantic roles & 50–950 ramp

primary
#BABC79
secondary
#BCBCD5
accent
#39AC3D
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130F
muted
#82827E

Preview Lab

Preview with #BABC79

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

Preview Lab → · Contrast checker → · Palette generator →

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