#2D8F2E#2D8F2E

#2D8F2E is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.162 H 143.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2D8F2E
RGBrgb(45, 143, 46)
HSLhsl(121, 52%, 37%)
HSVhsv(121, 69%, 56%)
CMYKcmyk(68.5%, 0%, 67.8%, 43.9%)
CIE-LABlab(52.29, -47.77, 41.96)
CIE-LCHlch(52.29, 63.58, 138.71°)
OKLaboklab(57.29% -0.1297 0.0969)
OKLCHoklch(57.29% 0.162 143.2)
XYZxyz(11.3971, 20.3989, 5.9210)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F2E #8F2D8E
analogous
#5D8F2D #2D8F2E #2D8F5F
triadic
#2D8F2E #2E2D8F #8F2E2D
tetradic
#2D8F2E #2D5D8F #8F2D8E #8F5F2D
square
#2D8F2E #2D5D8F #8F2D8E #8F5F2D
split-complementary
#2D8F2E #5F2D8F #8F2D5D
monochromatic
#103210 #1E601F #2D8F2E #3CBE3D #67CF68

Accessibility & contrast

On white

4.13
#2D8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2D8F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F2E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F2E#FFFFFF#000000##000000
##2D8F2E1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#867A37
Tritanopia (blue-blind)
#148B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f2e;
/* rgb */ color: rgb(45, 143, 46);
/* oklch */ color: oklch(57.3% 0.162 143.2);
Tailwind
colors: {
  custom: {
    50: '#74b16b',
    500: '#2d8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f2e;
$custom-light: #74b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f2e",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 120.612,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.16186,
    "h": 143.2
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

primary
#2D8F2E
secondary
#B662B5
accent
#4CDADC
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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