#9ACC42#9ACC42

#9ACC42 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.4% C 0.173 H 127.2°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#9ACC42
RGBrgb(154, 204, 66)
HSLhsl(82, 58%, 53%)
HSVhsv(82, 68%, 80%)
CMYKcmyk(24.5%, 0%, 67.6%, 20%)
CIE-LABlab(76.34, -36.60, 60.73)
CIE-LCHlch(76.34, 70.91, 121.07°)
OKLaboklab(78.36% -0.1046 0.1376)
OKLCHoklch(78.36% 0.173 127.2)
XYZxyz(35.9027, 50.4484, 12.9992)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ACC42 #7442CC
analogous
#CCB942 #9ACC42 #55CC42
triadic
#9ACC42 #429ACC #CC429A
tetradic
#9ACC42 #42CCB9 #7442CC #CC4255
square
#9ACC42 #42CCB9 #7442CC #CC4255
split-complementary
#9ACC42 #4255CC #B942CC
monochromatic
#55741F #79A42C #9ACC42 #B4D972 #CEE6A2

Accessibility & contrast

On white

1.89
#9ACC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#9ACC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ACC42
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ACC42#FFFFFF#000000##000000
##9ACC421.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2E
Deuteranopia (green-blind)
#CFBB4D
Tritanopia (blue-blind)
#A0C3B0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9acc42;
/* rgb */ color: rgb(154, 204, 66);
/* oklch */ color: oklch(78.4% 0.173 127.2);
Tailwind
colors: {
  custom: {
    50: '#bbdb7e',
    500: '#9acc42',
    950: '#000000',
  },
}
SCSS
$custom: #9acc42;
$custom-light: #bbdb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9acc42",
  "rgb": {
    "r": 154,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 81.739,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78362,
    "c": 0.17279,
    "h": 127.2
  },
  "luminance": 0.50449
}

Semantic roles & 50–950 ramp

primary
#9ACC42
secondary
#4F357D
accent
#47E17F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9ACC42

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

Preview Lab → · Contrast checker → · Palette generator →

#9ACC42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva