#ACC240#ACC240

#ACC240 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 77.3% C 0.154 H 118.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#ACC240
RGBrgb(172, 194, 64)
HSLhsl(70, 52%, 51%)
HSVhsv(70, 67%, 76%)
CMYKcmyk(11.3%, 0%, 67%, 23.9%)
CIE-LABlab(74.65, -24.90, 60.14)
CIE-LCHlch(74.65, 65.09, 112.49°)
OKLaboklab(77.29% -0.0735 0.1356)
OKLCHoklch(77.29% 0.154 118.4)
XYZxyz(37.2312, 47.7247, 12.0999)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ACC240 #5640C2
analogous
#C29740 #ACC240 #6BC240
triadic
#ACC240 #40ACC2 #C240AC
tetradic
#ACC240 #40C297 #5640C2 #C2406B
square
#ACC240 #40C297 #5640C2 #C2406B
split-complementary
#ACC240 #406BC2 #9740C2
monochromatic
#5B6721 #849530 #ACC240 #C0D16E #D4E09D

Accessibility & contrast

On white

1.99
#ACC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#ACC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ACC240
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ACC240#FFFFFF#000000##000000
##ACC2401.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB82D
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#B6B8A8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #acc240;
/* rgb */ color: rgb(172, 194, 64);
/* oklch */ color: oklch(77.3% 0.154 118.4);
Tailwind
colors: {
  custom: {
    50: '#c8d47c',
    500: '#acc240',
    950: '#000000',
  },
}
SCSS
$custom: #acc240;
$custom-light: #c8d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#acc240",
  "rgb": {
    "r": 172,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 70.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77293,
    "c": 0.15426,
    "h": 118.4
  },
  "luminance": 0.47724
}

Semantic roles & 50–950 ramp

primary
#ACC240
secondary
#9C92CC
accent
#4DDB65
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ACC240

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

Preview Lab → · Contrast checker → · Palette generator →

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