#ACC342#ACC342

#ACC342 is a light, vivid yellow-green. Relative luminance 0.482; OKLCH L 77.5% C 0.154 H 118.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#ACC342
RGBrgb(172, 195, 66)
HSLhsl(71, 52%, 51%)
HSVhsv(71, 66%, 76%)
CMYKcmyk(11.8%, 0%, 66.2%, 23.5%)
CIE-LABlab(74.95, -25.25, 59.66)
CIE-LCHlch(74.95, 64.78, 112.94°)
OKLaboklab(77.54% -0.0743 0.1349)
OKLCHoklch(77.54% 0.154 118.8)
XYZxyz(37.5124, 48.1945, 12.4795)
Luminance0.4819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC342 #5942C3
analogous
#C39942 #ACC342 #6BC342
triadic
#ACC342 #42ACC3 #C342AC
tetradic
#ACC342 #42C399 #5942C3 #C3426B
square
#ACC342 #42C399 #5942C3 #C3426B
split-complementary
#ACC342 #426BC3 #9942C3
monochromatic
#5C6921 #859830 #ACC342 #C0D270 #D5E09F

Accessibility & contrast

On white

1.97
#ACC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#ACC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC342
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC342#FFFFFF#000000##000000
##ACC3421.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#CDB94C
Tritanopia (blue-blind)
#B6B9A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc342;
/* rgb */ color: rgb(172, 195, 66);
/* oklch */ color: oklch(77.5% 0.154 118.8);
Tailwind
colors: {
  custom: {
    50: '#c8d57d',
    500: '#acc342',
    950: '#000000',
  },
}
SCSS
$custom: #acc342;
$custom-light: #c8d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#acc342",
  "rgb": {
    "r": 172,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 70.698,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77536,
    "c": 0.15402,
    "h": 118.8
  },
  "luminance": 0.48194
}

Semantic roles & 50–950 ramp

primary
#ACC342
secondary
#9E94CD
accent
#4DDB66
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ACC342

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

Preview Lab → · Contrast checker → · Palette generator →

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