#2D8F2F#2D8F2F

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

Color values

HEX#2D8F2F
RGBrgb(45, 143, 47)
HSLhsl(121, 52%, 37%)
HSVhsv(121, 69%, 56%)
CMYKcmyk(68.5%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.29, -47.67, 41.53)
CIE-LCHlch(52.29, 63.22, 138.94°)
OKLaboklab(57.29% -0.1293 0.0961)
OKLCHoklch(57.29% 0.161 143.4)
XYZxyz(11.4171, 20.4069, 6.0260)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F2F #8F2D8D
analogous
#5C8F2D #2D8F2F #2D8F60
triadic
#2D8F2F #2F2D8F #8F2F2D
tetradic
#2D8F2F #2D5C8F #8F2D8D #8F602D
square
#2D8F2F #2D5C8F #8F2D8D #8F602D
split-complementary
#2D8F2F #602D8F #8F2D5C
monochromatic
#103210 #1E6020 #2D8F2F #3CBE3E #67CF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8F2F#FFFFFF#000000##000000
##2D8F2F1.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)
#928223
Deuteranopia (green-blind)
#867A38
Tritanopia (blue-blind)
#148B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f2f;
/* rgb */ color: rgb(45, 143, 47);
/* oklch */ color: oklch(57.3% 0.161 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b16c',
    500: '#2d8f2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f2f;
$custom-light: #74b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f2f",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 121.224,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.16113,
    "h": 143.4
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#2D8F2F
secondary
#B662B4
accent
#4CD9DC
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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