#2A8A1D#2A8A1D

#2A8A1D is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.168 H 141.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2A8A1D
RGBrgb(42, 138, 29)
HSLhsl(113, 65%, 33%)
HSVhsv(113, 79%, 54%)
CMYKcmyk(69.6%, 0%, 79%, 45.9%)
CIE-LABlab(50.40, -48.11, 46.69)
CIE-LCHlch(50.40, 67.04, 135.86°)
OKLaboklab(55.66% -0.1313 0.1046)
OKLCHoklch(55.66% 0.168 141.5)
XYZxyz(10.2645, 18.7568, 4.2416)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A1D #7D1D8A
analogous
#608A1D #2A8A1D #1D8A46
triadic
#2A8A1D #1D2A8A #8A1D2A
tetradic
#2A8A1D #1D608A #7D1D8A #8A461D
square
#2A8A1D #1D608A #7D1D8A #8A461D
split-complementary
#2A8A1D #461D8A #8A1D60
monochromatic
#0B2508 #1B5712 #2A8A1D #39BD28 #5AD949

Accessibility & contrast

On white

4.42
#2A8A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2A8A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A1D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A1D#FFFFFF#000000##000000
##2A8A1D1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#158676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a1d;
/* rgb */ color: rgb(42, 138, 29);
/* oklch */ color: oklch(55.7% 0.168 141.5);
Tailwind
colors: {
  custom: {
    50: '#72ad62',
    500: '#2a8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a1d;
$custom-light: #72ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a1d",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 112.844,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.16784,
    "h": 141.5
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#2A8A1D
secondary
#AD48BB
accent
#40E8D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2A8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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