#2D8F38#2D8F38

#2D8F38 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.154 H 145.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2D8F38
RGBrgb(45, 143, 56)
HSLhsl(127, 52%, 37%)
HSVhsv(127, 69%, 56%)
CMYKcmyk(68.5%, 0%, 60.8%, 43.9%)
CIE-LABlab(52.38, -46.62, 37.47)
CIE-LCHlch(52.38, 59.81, 141.21°)
OKLaboklab(57.4% -0.1261 0.0883)
OKLCHoklch(57.4% 0.154 145)
XYZxyz(11.6177, 20.4871, 7.0828)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F38 #8F2D84
analogous
#538F2D #2D8F38 #2D8F69
triadic
#2D8F38 #382D8F #8F382D
tetradic
#2D8F38 #2D538F #8F2D84 #8F692D
square
#2D8F38 #2D538F #8F2D84 #8F692D
split-complementary
#2D8F38 #692D8F #8F2D53
monochromatic
#103214 #1E6026 #2D8F38 #3CBE4A #67CF73

Accessibility & contrast

On white

4.12
#2D8F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2D8F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F38
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F38#FFFFFF#000000##000000
##2D8F381.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822F
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#0F8B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f38;
/* rgb */ color: rgb(45, 143, 56);
/* oklch */ color: oklch(57.4% 0.154 145.0);
Tailwind
colors: {
  custom: {
    50: '#73b172',
    500: '#2d8f38',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f38;
$custom-light: #73b172;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f38",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 126.735,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.15393,
    "h": 145
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

primary
#2D8F38
secondary
#B662AC
accent
#4CCBDC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2D8F38

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

Preview Lab → · Contrast checker → · Palette generator →

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