#2A8E2E#2A8E2E

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

Color values

HEX#2A8E2E
RGBrgb(42, 142, 46)
HSLhsl(122, 54%, 36%)
HSVhsv(122, 70%, 56%)
CMYKcmyk(70.4%, 0%, 67.6%, 44.3%)
CIE-LABlab(51.88, -48.02, 41.49)
CIE-LCHlch(51.88, 63.47, 139.17°)
OKLaboklab(56.93% -0.1302 0.0959)
OKLCHoklch(56.93% 0.162 143.6)
XYZxyz(11.1203, 20.0343, 5.8652)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8E2E #8E2A8A
analogous
#588E2A #2A8E2E #2A8E60
triadic
#2A8E2E #2E2A8E #8E2E2A
tetradic
#2A8E2E #2A588E #8E2A8A #8E602A
square
#2A8E2E #2A588E #8E2A8A #8E602A
split-complementary
#2A8E2E #602A8E #8E2A58
monochromatic
#0E300F #1C5F1F #2A8E2E #38BD3D #62D166

Accessibility & contrast

On white

4.19
#2A8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A8E2E#FFFFFF#000000##000000
##2A8E2E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#0B8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8e2e;
/* rgb */ color: rgb(42, 142, 46);
/* oklch */ color: oklch(56.9% 0.162 143.6);
Tailwind
colors: {
  custom: {
    50: '#72b06b',
    500: '#2a8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8e2e;
$custom-light: #72b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8e2e",
  "rgb": {
    "r": 42,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 122.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56925,
    "c": 0.1617,
    "h": 143.6
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#2A8E2E
secondary
#B65DB3
accent
#4AD8DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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