#2A8D1E#2A8D1E

#2A8D1E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.171 H 141.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A8D1E
RGBrgb(42, 141, 30)
HSLhsl(114, 65%, 34%)
HSVhsv(114, 79%, 55%)
CMYKcmyk(70.2%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.42, -49.08, 47.34)
CIE-LCHlch(51.42, 68.19, 136.04°)
OKLaboklab(56.51% -0.1339 0.106)
OKLCHoklch(56.51% 0.171 141.6)
XYZxyz(10.7135, 19.6346, 4.4533)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D1E #811E8D
analogous
#618D1E #2A8D1E #1E8D4A
triadic
#2A8D1E #1E2A8D #8D1E2A
tetradic
#2A8D1E #1E618D #811E8D #8D4A1E
square
#2A8D1E #1E618D #811E8D #8D4A1E
split-complementary
#2A8D1E #4A1E8D #8D1E61
monochromatic
#0C2809 #1B5B13 #2A8D1E #39BF29 #5CD94C

Accessibility & contrast

On white

4.26
#2A8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2A8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D1E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D1E#FFFFFF#000000##000000
##2A8D1E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F02
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#138878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d1e;
/* rgb */ color: rgb(42, 141, 30);
/* oklch */ color: oklch(56.5% 0.171 141.6);
Tailwind
colors: {
  custom: {
    50: '#73af63',
    500: '#2a8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d1e;
$custom-light: #73af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d1e",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 113.514,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56511,
    "c": 0.1708,
    "h": 141.6
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#2A8D1E
secondary
#AF4BBC
accent
#40E8D6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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