#2A8D1D#2A8D1D

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

Color values

HEX#2A8D1D
RGBrgb(42, 141, 29)
HSLhsl(113, 66%, 33%)
HSVhsv(113, 79%, 55%)
CMYKcmyk(70.2%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.42, -49.15, 47.67)
CIE-LCHlch(51.42, 68.47, 135.88°)
OKLaboklab(56.5% -0.1341 0.1066)
OKLCHoklch(56.5% 0.171 141.5)
XYZxyz(10.7009, 19.6296, 4.3871)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D1D #801D8D
analogous
#628D1D #2A8D1D #1D8D48
triadic
#2A8D1D #1D2A8D #8D1D2A
tetradic
#2A8D1D #1D628D #801D8D #8D481D
square
#2A8D1D #1D628D #801D8D #8D481D
split-complementary
#2A8D1D #481D8D #8D1D62
monochromatic
#0C2708 #1B5A13 #2A8D1D #39C027 #5BDA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8D1D#FFFFFF#000000##000000
##2A8D1D1.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)
#917F00
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#138878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8d1d;
/* rgb */ color: rgb(42, 141, 29);
/* oklch */ color: oklch(56.5% 0.171 141.5);
Tailwind
colors: {
  custom: {
    50: '#73af62',
    500: '#2a8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d1d;
$custom-light: #73af62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d1d",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 113.036,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56504,
    "c": 0.17132,
    "h": 141.5
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#2A8D1D
secondary
#AF4ABC
accent
#3FE9D5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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