#2A9518#2A9518

#2A9518 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.7% C 0.183 H 141.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2A9518
RGBrgb(42, 149, 24)
HSLhsl(111, 72%, 34%)
HSVhsv(111, 84%, 58%)
CMYKcmyk(71.8%, 0%, 83.9%, 41.6%)
CIE-LABlab(54.08, -52.18, 51.71)
CIE-LCHlch(54.08, 73.46, 135.26°)
OKLaboklab(58.71% -0.1425 0.1143)
OKLCHoklch(58.71% 0.183 141.3)
XYZxyz(11.8665, 22.0518, 4.4950)
Luminance0.2205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9518 #831895
analogous
#699518 #2A9518 #189545
triadic
#2A9518 #182A95 #95182A
tetradic
#2A9518 #186995 #831895 #954518
square
#2A9518 #186995 #831895 #954518
split-complementary
#2A9518 #451895 #951869
monochromatic
#0C2C07 #1B6010 #2A9518 #39CA20 #5DE146

Accessibility & contrast

On white

3.88
#2A9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#2A9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9518
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9518#FFFFFF#000000##000000
##2A95181.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#0E907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2a9518;
/* rgb */ color: rgb(42, 149, 24);
/* oklch */ color: oklch(58.7% 0.183 141.3);
Tailwind
colors: {
  custom: {
    50: '#75b561',
    500: '#2a9518',
    950: '#000000',
  },
}
SCSS
$custom: #2a9518;
$custom-light: #75b561;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9518",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 111.36,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.1827,
    "h": 141.3
  },
  "luminance": 0.22053
}

Semantic roles & 50–950 ramp

primary
#2A9518
secondary
#B146C2
accent
#39EFD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2A9518

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

Preview Lab → · Contrast checker → · Palette generator →

#2A9518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva