#9AC42E#9AC42E

#9AC42E is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.3% C 0.175 H 124.6°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#9AC42E
RGBrgb(154, 196, 46)
HSLhsl(77, 62%, 47%)
HSVhsv(77, 77%, 77%)
CMYKcmyk(21.4%, 0%, 76.5%, 23.1%)
CIE-LABlab(73.90, -34.10, 65.37)
CIE-LCHlch(73.90, 73.73, 117.55°)
OKLaboklab(76.34% -0.0993 0.1442)
OKLCHoklch(76.34% 0.175 124.6)
XYZxyz(33.5598, 46.5468, 9.8006)
Luminance0.4655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AC42E #582EC4
analogous
#C4A32E #9AC42E #4FC42E
triadic
#9AC42E #2E9AC4 #C42E9A
tetradic
#9AC42E #2EC4A3 #582EC4 #C42E4F
square
#9AC42E #2EC4A3 #582EC4 #C42E4F
split-complementary
#9AC42E #2E4FC4 #A32EC4
monochromatic
#4C6117 #739222 #9AC42E #B4D858 #CAE389

Accessibility & contrast

On white

2.04
#9AC42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#9AC42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AC42E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AC42E#FFFFFF#000000##000000
##9AC42E1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB703
Deuteranopia (green-blind)
#CAB53D
Tritanopia (blue-blind)
#A1BAA8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9ac42e;
/* rgb */ color: rgb(154, 196, 46);
/* oklch */ color: oklch(76.3% 0.175 124.6);
Tailwind
colors: {
  custom: {
    50: '#bcd673',
    500: '#9ac42e',
    950: '#000000',
  },
}
SCSS
$custom: #9ac42e;
$custom-light: #bcd673;
$custom-dark: #000000;
JSON
{
  "hex": "#9ac42e",
  "rgb": {
    "r": 154,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 76.8,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76342,
    "c": 0.17513,
    "h": 124.6
  },
  "luminance": 0.46547
}

Semantic roles & 50–950 ramp

primary
#9AC42E
secondary
#9681CD
accent
#43E570
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #9AC42E

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

Preview Lab → · Contrast checker → · Palette generator →

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