#ACC340#ACC340

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

Color values

HEX#ACC340
RGBrgb(172, 195, 64)
HSLhsl(71, 52%, 51%)
HSVhsv(71, 67%, 76%)
CMYKcmyk(11.8%, 0%, 67.2%, 23.5%)
CIE-LABlab(74.93, -25.38, 60.43)
CIE-LCHlch(74.93, 65.54, 112.78°)
OKLaboklab(77.52% -0.0748 0.1363)
OKLCHoklch(77.52% 0.155 118.8)
XYZxyz(37.4545, 48.1713, 12.1744)
Luminance0.4817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC340 #5740C3
analogous
#C39840 #ACC340 #6AC340
triadic
#ACC340 #40ACC3 #C340AC
tetradic
#ACC340 #40C398 #5740C3 #C3406A
square
#ACC340 #40C398 #5740C3 #C3406A
split-complementary
#ACC340 #406AC3 #9840C3
monochromatic
#5B6821 #84972F #ACC340 #C0D26F #D4E09D

Accessibility & contrast

On white

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

On black

10.63
#ACC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC340
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC340#FFFFFF#000000##000000
##ACC3401.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #acc340;
/* rgb */ color: rgb(172, 195, 64);
/* oklch */ color: oklch(77.5% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#c8d57c',
    500: '#acc340',
    950: '#000000',
  },
}
SCSS
$custom: #acc340;
$custom-light: #c8d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#acc340",
  "rgb": {
    "r": 172,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 70.534,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7752,
    "c": 0.15545,
    "h": 118.8
  },
  "luminance": 0.48171
}

Semantic roles & 50–950 ramp

primary
#ACC340
secondary
#9D92CC
accent
#4CDC65
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ACC340

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

Preview Lab → · Contrast checker → · Palette generator →

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