#2A8E15#2A8E15

#2A8E15 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.176 H 140.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A8E15
RGBrgb(42, 142, 21)
HSLhsl(110, 74%, 32%)
HSVhsv(110, 85%, 56%)
CMYKcmyk(70.4%, 0%, 85.2%, 44.3%)
CIE-LABlab(51.71, -49.97, 50.36)
CIE-LCHlch(51.71, 70.95, 134.78°)
OKLaboklab(56.74% -0.1367 0.1111)
OKLCHoklch(56.74% 0.176 140.9)
XYZxyz(10.7626, 19.8912, 3.9815)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E15 #79158E
analogous
#678E15 #2A8E15 #158E3D
triadic
#2A8E15 #152A8E #8E152A
tetradic
#2A8E15 #15678E #79158E #8E3D15
square
#2A8E15 #15678E #79158E #8E3D15
split-complementary
#2A8E15 #3D158E #8E1567
monochromatic
#0A2305 #1A590D #2A8E15 #3AC31D #58E23B

Accessibility & contrast

On white

4.22
#2A8E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2A8E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E15
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E15#FFFFFF#000000##000000
##2A8E151.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#148978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e15;
/* rgb */ color: rgb(42, 142, 21);
/* oklch */ color: oklch(56.7% 0.176 140.9);
Tailwind
colors: {
  custom: {
    50: '#74b05f',
    500: '#2a8e15',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e15;
$custom-light: #74b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e15",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 109.587,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.17615,
    "h": 140.9
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#2A8E15
secondary
#AB3DC2
accent
#37F1D1
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #2A8E15

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

Preview Lab → · Contrast checker → · Palette generator →

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