#2A8E1D#2A8E1D

#2A8E1D is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.172 H 141.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A8E1D
RGBrgb(42, 142, 29)
HSLhsl(113, 66%, 34%)
HSVhsv(113, 80%, 56%)
CMYKcmyk(70.4%, 0%, 79.6%, 44.3%)
CIE-LABlab(51.75, -49.50, 47.99)
CIE-LCHlch(51.75, 68.95, 135.88°)
OKLaboklab(56.78% -0.1351 0.1073)
OKLCHoklch(56.78% 0.172 141.5)
XYZxyz(10.8490, 19.9258, 4.4365)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E1D #811D8E
analogous
#628E1D #2A8E1D #1D8E48
triadic
#2A8E1D #1D2A8E #8E1D2A
tetradic
#2A8E1D #1D628E #811D8E #8E481D
square
#2A8E1D #1D628E #811D8E #8E481D
split-complementary
#2A8E1D #481D8E #8E1D62
monochromatic
#0C2808 #1B5B13 #2A8E1D #39C127 #5CDA4B

Accessibility & contrast

On white

4.21
#2A8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2A8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E1D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E1D#FFFFFF#000000##000000
##2A8E1D1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#128979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8e1d;
/* rgb */ color: rgb(42, 142, 29);
/* oklch */ color: oklch(56.8% 0.172 141.5);
Tailwind
colors: {
  custom: {
    50: '#73b062',
    500: '#2a8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e1d;
$custom-light: #73b062;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e1d",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 113.097,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.17248,
    "h": 141.5
  },
  "luminance": 0.19927
}

Semantic roles & 50–950 ramp

primary
#2A8E1D
secondary
#AF4ABD
accent
#3FE9D5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2A8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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