#2D894F#2D894F

#2D894F is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.124 H 152.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2D894F
RGBrgb(45, 137, 79)
HSLhsl(142, 51%, 36%)
HSVhsv(142, 67%, 54%)
CMYKcmyk(67.2%, 0%, 42.3%, 46.3%)
CIE-LABlab(50.70, -40.65, 23.40)
CIE-LCHlch(50.70, 46.90, 150.08°)
OKLaboklab(56.11% -0.1098 0.058)
OKLCHoklch(56.11% 0.124 152.1)
XYZxyz(11.4382, 19.0125, 10.4626)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D894F #892D67
analogous
#39892D #2D894F #2D897D
triadic
#2D894F #4F2D89 #894F2D
tetradic
#2D894F #2D3989 #892D67 #897D2D
square
#2D894F #2D3989 #892D67 #897D2D
split-complementary
#2D894F #7D2D89 #892D39
monochromatic
#0F2D1A #1E5B34 #2D894F #3CB76A #64CC8B

Accessibility & contrast

On white

4.37
#2D894F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2D894F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D894F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D894F#FFFFFF#000000##000000
##2D894F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4B
Deuteranopia (green-blind)
#7E7553
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2d894f;
/* rgb */ color: rgb(45, 137, 79);
/* oklch */ color: oklch(56.1% 0.124 152.1);
Tailwind
colors: {
  custom: {
    50: '#71ac81',
    500: '#2d894f',
    950: '#000000',
  },
}
SCSS
$custom: #2d894f;
$custom-light: #71ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#2d894f",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 79
  },
  "hsl": {
    "h": 142.174,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.12415,
    "h": 152.1
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#2D894F
secondary
#B35F94
accent
#4EA6DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2D894F

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

Preview Lab → · Contrast checker → · Palette generator →

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