#ACC538#ACC538

#ACC538 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.9% C 0.163 H 119.2°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#ACC538
RGBrgb(172, 197, 56)
HSLhsl(71, 56%, 50%)
HSVhsv(71, 72%, 77%)
CMYKcmyk(12.7%, 0%, 71.6%, 22.7%)
CIE-LABlab(75.44, -26.81, 63.92)
CIE-LCHlch(75.44, 69.32, 112.75°)
OKLaboklab(77.92% -0.0795 0.1423)
OKLCHoklch(77.92% 0.163 119.2)
XYZxyz(37.6941, 48.9889, 11.2107)
Luminance0.4899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC538 #5138C5
analogous
#C59738 #ACC538 #66C538
triadic
#ACC538 #38ACC5 #C538AC
tetradic
#ACC538 #38C597 #5138C5 #C53866
square
#ACC538 #38C597 #5138C5 #C53866
split-complementary
#ACC538 #3866C5 #9738C5
monochromatic
#59661D #82952A #ACC538 #C0D467 #D4E196

Accessibility & contrast

On white

1.94
#ACC538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#ACC538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC538
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC538#FFFFFF#000000##000000
##ACC5381.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#CFBA44
Tritanopia (blue-blind)
#B6BAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #acc538;
/* rgb */ color: rgb(172, 197, 56);
/* oklch */ color: oklch(77.9% 0.163 119.2);
Tailwind
colors: {
  custom: {
    50: '#c8d678',
    500: '#acc538',
    950: '#000000',
  },
}
SCSS
$custom: #acc538;
$custom-light: #c8d678;
$custom-dark: #000000;
JSON
{
  "hex": "#acc538",
  "rgb": {
    "r": 172,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 70.638,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77915,
    "c": 0.16304,
    "h": 119.2
  },
  "luminance": 0.48989
}

Semantic roles & 50–950 ramp

primary
#ACC538
secondary
#988CCD
accent
#49DF63
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#141409
muted
#82837B

Preview Lab

Preview with #ACC538

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

Preview Lab → · Contrast checker → · Palette generator →

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