#2A8A4F#2A8A4F

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

Color values

HEX#2A8A4F
RGBrgb(42, 138, 79)
HSLhsl(143, 53%, 35%)
HSVhsv(143, 70%, 54%)
CMYKcmyk(69.6%, 0%, 42.8%, 45.9%)
CIE-LABlab(50.96, -41.65, 23.72)
CIE-LCHlch(50.96, 47.93, 150.34°)
OKLaboklab(56.3% -0.1123 0.0588)
OKLCHoklch(56.3% 0.127 152.4)
XYZxyz(11.4536, 19.2325, 10.5042)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A4F #8A2A65
analogous
#358A2A #2A8A4F #2A8A7F
triadic
#2A8A4F #4F2A8A #8A4F2A
tetradic
#2A8A4F #2A358A #8A2A65 #8A7F2A
square
#2A8A4F #2A358A #8A2A65 #8A7F2A
split-complementary
#2A8A4F #7F2A8A #8A2A35
monochromatic
#0D2C19 #1C5B34 #2A8A4F #38B96A #60CF8B

Accessibility & contrast

On white

4.33
#2A8A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2A8A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A4F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A4F#FFFFFF#000000##000000
##2A8A4F1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8a4f;
/* rgb */ color: rgb(42, 138, 79);
/* oklch */ color: oklch(56.3% 0.127 152.4);
Tailwind
colors: {
  custom: {
    50: '#70ad81',
    500: '#2a8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a4f;
$custom-light: #70ad81;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a4f",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 143.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.12679,
    "h": 152.4
  },
  "luminance": 0.19234
}

Semantic roles & 50–950 ramp

primary
#2A8A4F
secondary
#B45B92
accent
#4BA5DD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2A8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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