#ACC478#ACC478

#ACC478 is a light, moderate yellow-green. Relative luminance 0.496; OKLCH L 78.4% C 0.104 H 123.1°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#ACC478
RGBrgb(172, 196, 120)
HSLhsl(79, 39%, 62%)
HSVhsv(79, 39%, 77%)
CMYKcmyk(12.2%, 0%, 38.8%, 23.1%)
CIE-LABlab(75.83, -20.67, 35.49)
CIE-LCHlch(75.83, 41.07, 120.21°)
OKLaboklab(78.44% -0.0567 0.0871)
OKLCHoklch(78.44% 0.104 123.1)
XYZxyz(40.1432, 49.6065, 25.2258)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC478 #9078C4
analogous
#C4B678 #ACC478 #86C478
triadic
#ACC478 #78ACC4 #C478AC
tetradic
#ACC478 #78C4B6 #9078C4 #C47886
square
#ACC478 #78C4B6 #9078C4 #C47886
split-complementary
#ACC478 #7886C4 #B678C4
monochromatic
#6F873B #92B14D #ACC478 #C6D7A3 #E0E9CD

Accessibility & contrast

On white

1.92
#ACC478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#ACC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC478
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC478#FFFFFF#000000##000000
##ACC4781.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC72
Deuteranopia (green-blind)
#C9BB7C
Tritanopia (blue-blind)
#B1BDB1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #acc478;
/* rgb */ color: rgb(172, 196, 120);
/* oklch */ color: oklch(78.4% 0.104 123.1);
Tailwind
colors: {
  custom: {
    50: '#c6d5a0',
    500: '#acc478',
    950: '#000000',
  },
}
SCSS
$custom: #acc478;
$custom-light: #c6d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#acc478",
  "rgb": {
    "r": 172,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 78.947,
    "s": 39.175,
    "l": 61.961
  },
  "oklch": {
    "l": 0.78436,
    "c": 0.10391,
    "h": 123.1
  },
  "luminance": 0.49607
}

Semantic roles & 50–950 ramp

primary
#ACC478
secondary
#C7BEDA
accent
#33B25B
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140F
muted
#82837E

Preview Lab

Preview with #ACC478

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

Preview Lab → · Contrast checker → · Palette generator →

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