#ACC78B#ACC78B

#ACC78B is a light, moderate yellow-green. Relative luminance 0.515; OKLCH L 79.5% C 0.086 H 127.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#ACC78B
RGBrgb(172, 199, 139)
HSLhsl(87, 35%, 66%)
HSVhsv(87, 30%, 78%)
CMYKcmyk(13.6%, 0%, 30.2%, 22%)
CIE-LABlab(76.97, -19.60, 27.13)
CIE-LCHlch(76.97, 33.47, 125.85°)
OKLaboklab(79.45% -0.053 0.0681)
OKLCHoklch(79.45% 0.086 127.9)
XYZxyz(42.0962, 51.4812, 32.1402)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC78B #A68BC7
analogous
#C7C48B #ACC78B #8EC78B
triadic
#ACC78B #8BACC7 #C78BAC
tetradic
#ACC78B #8BC7C4 #A68BC7 #C78B8E
square
#ACC78B #8BC7C4 #A68BC7 #C78B8E
split-complementary
#ACC78B #8B8EC7 #C48BC7
monochromatic
#709146 #8EB362 #ACC78B #CADBB4 #E7EFDE

Accessibility & contrast

On white

1.86
#ACC78B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#ACC78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC78B
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC78B#FFFFFF#000000##000000
##ACC78B1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBF87
Deuteranopia (green-blind)
#C9BD8E
Tritanopia (blue-blind)
#AFC2B7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #acc78b;
/* rgb */ color: rgb(172, 199, 139);
/* oklch */ color: oklch(79.5% 0.086 127.9);
Tailwind
colors: {
  custom: {
    50: '#c5d8ad',
    500: '#acc78b',
    950: '#000000',
  },
}
SCSS
$custom: #acc78b;
$custom-light: #c5d8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#acc78b",
  "rgb": {
    "r": 172,
    "g": 199,
    "b": 139
  },
  "hsl": {
    "h": 87,
    "s": 34.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.79451,
    "c": 0.08627,
    "h": 127.9
  },
  "luminance": 0.51482
}

Semantic roles & 50–950 ramp

primary
#ACC78B
secondary
#785D99
accent
#38AE6D
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #ACC78B

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

Preview Lab → · Contrast checker → · Palette generator →

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