#BABC78#BABC78

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

Color values

HEX#BABC78
RGBrgb(186, 188, 120)
HSLhsl(62, 34%, 60%)
HSVhsv(62, 36%, 74%)
CMYKcmyk(1.1%, 0%, 36.2%, 26.3%)
CIE-LABlab(74.67, -11.14, 34.21)
CIE-LCHlch(74.67, 35.98, 108.04°)
OKLaboklab(77.78% -0.0302 0.0841)
OKLCHoklch(77.78% 0.089 109.7)
XYZxyz(41.6235, 47.7623, 24.7920)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABC78 #7A78BC
analogous
#BC9C78 #BABC78 #98BC78
triadic
#BABC78 #78BABC #BC78BA
tetradic
#BABC78 #78BC9C #7A78BC #BC7898
square
#BABC78 #78BC9C #7A78BC #BC7898
split-complementary
#BABC78 #7898BC #9C78BC
monochromatic
#7A7C3E #A2A552 #BABC78 #CFD0A1 #E4E5CA

Accessibility & contrast

On white

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

On black

10.55
#BABC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABC78
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABC78#FFFFFF#000000##000000
##BABC781.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #babc78;
/* rgb */ color: rgb(186, 188, 120);
/* oklch */ color: oklch(77.8% 0.089 109.7);
Tailwind
colors: {
  custom: {
    50: '#d0d0a0',
    500: '#babc78',
    950: '#000000',
  },
}
SCSS
$custom: #babc78;
$custom-light: #d0d0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#babc78",
  "rgb": {
    "r": 186,
    "g": 188,
    "b": 120
  },
  "hsl": {
    "h": 61.765,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.77776,
    "c": 0.0893,
    "h": 109.7
  },
  "luminance": 0.47762
}

Semantic roles & 50–950 ramp

primary
#BABC78
secondary
#BCBBD5
accent
#39AC3C
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BABC78

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

Preview Lab → · Contrast checker → · Palette generator →

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