#2A8A4E#2A8A4E

#2A8A4E is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.128 H 152.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A8A4E
RGBrgb(42, 138, 78)
HSLhsl(143, 53%, 35%)
HSVhsv(143, 70%, 54%)
CMYKcmyk(69.6%, 0%, 43.5%, 45.9%)
CIE-LABlab(50.94, -41.83, 24.25)
CIE-LCHlch(50.94, 48.35, 149.90°)
OKLaboklab(56.28% -0.1128 0.06)
OKLCHoklch(56.28% 0.128 152)
XYZxyz(11.4175, 19.2180, 10.3140)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A4E #8A2A66
analogous
#368A2A #2A8A4E #2A8A7E
triadic
#2A8A4E #4E2A8A #8A4E2A
tetradic
#2A8A4E #2A368A #8A2A66 #8A7E2A
square
#2A8A4E #2A368A #8A2A66 #8A7E2A
split-complementary
#2A8A4E #7E2A8A #8A2A36
monochromatic
#0D2C19 #1C5B33 #2A8A4E #38B969 #60CF89

Accessibility & contrast

On white

4.34
#2A8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2A8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A4E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A4E#FFFFFF#000000##000000
##2A8A4E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4A
Deuteranopia (green-blind)
#7E7652
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a8a4e;
/* rgb */ color: rgb(42, 138, 78);
/* oklch */ color: oklch(56.3% 0.128 152.0);
Tailwind
colors: {
  custom: {
    50: '#70ad80',
    500: '#2a8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a4e;
$custom-light: #70ad80;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a4e",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 142.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56284,
    "c": 0.12778,
    "h": 152
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#2A8A4E
secondary
#B45B93
accent
#4BA6DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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