#2A8E2D#2A8E2D

#2A8E2D is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.162 H 143.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2A8E2D
RGBrgb(42, 142, 45)
HSLhsl(122, 54%, 36%)
HSVhsv(122, 70%, 56%)
CMYKcmyk(70.4%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.87, -48.13, 41.92)
CIE-LCHlch(51.87, 63.83, 138.94°)
OKLaboklab(56.92% -0.1305 0.0967)
OKLCHoklch(56.92% 0.162 143.5)
XYZxyz(11.1008, 20.0265, 5.7626)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E2D #8E2A8B
analogous
#598E2A #2A8E2D #2A8E5F
triadic
#2A8E2D #2D2A8E #8E2D2A
tetradic
#2A8E2D #2A598E #8E2A8B #8E5F2A
square
#2A8E2D #2A598E #8E2A8B #8E5F2A
split-complementary
#2A8E2D #5F2A8E #8E2A59
monochromatic
#0E300F #1C5F1E #2A8E2D #38BD3C #62D165

Accessibility & contrast

On white

4.20
#2A8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2A8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8E2D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8E2D#FFFFFF#000000##000000
##2A8E2D1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#857936
Tritanopia (blue-blind)
#0C8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e2d;
/* rgb */ color: rgb(42, 142, 45);
/* oklch */ color: oklch(56.9% 0.162 143.5);
Tailwind
colors: {
  custom: {
    50: '#72b06b',
    500: '#2a8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e2d;
$custom-light: #72b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e2d",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 121.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.16244,
    "h": 143.5
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#2A8E2D
secondary
#B65DB4
accent
#4AD9DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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