#2D8E2F#2D8E2F

#2D8E2F is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.160 H 143.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2D8E2F
RGBrgb(45, 142, 47)
HSLhsl(121, 52%, 37%)
HSVhsv(121, 68%, 56%)
CMYKcmyk(68.3%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.96, -47.30, 41.16)
CIE-LCHlch(51.96, 62.71, 138.97°)
OKLaboklab(57.02% -0.1283 0.0953)
OKLCHoklch(57.02% 0.16 143.4)
XYZxyz(11.2676, 20.1080, 5.9762)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E2F #8E2D8C
analogous
#5C8E2D #2D8E2F #2D8E60
triadic
#2D8E2F #2F2D8E #8E2F2D
tetradic
#2D8E2F #2D5C8E #8E2D8C #8E602D
square
#2D8E2F #2D5C8E #8E2D8C #8E602D
split-complementary
#2D8E2F #602D8E #8E2D5C
monochromatic
#103110 #1E6020 #2D8E2F #3CBC3E #67CF69

Accessibility & contrast

On white

4.18
#2D8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2D8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E2F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E2F#FFFFFF#000000##000000
##2D8E2F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#857937
Tritanopia (blue-blind)
#148A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8e2f;
/* rgb */ color: rgb(45, 142, 47);
/* oklch */ color: oklch(57.0% 0.160 143.4);
Tailwind
colors: {
  custom: {
    50: '#74b06c',
    500: '#2d8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e2f;
$custom-light: #74b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e2f",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 121.237,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.15987,
    "h": 143.4
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#2D8E2F
secondary
#B561B4
accent
#4CD8DB
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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