#2D9038#2D9038

#2D9038 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.155 H 144.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2D9038
RGBrgb(45, 144, 56)
HSLhsl(127, 52%, 37%)
HSVhsv(127, 69%, 56%)
CMYKcmyk(68.7%, 0%, 61.1%, 43.5%)
CIE-LABlab(52.72, -46.99, 37.85)
CIE-LCHlch(52.72, 60.34, 141.14°)
OKLaboklab(57.67% -0.1271 0.0892)
OKLCHoklch(57.67% 0.155 144.9)
XYZxyz(11.7685, 20.7887, 7.1330)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9038 #902D85
analogous
#53902D #2D9038 #2D906A
triadic
#2D9038 #382D90 #90382D
tetradic
#2D9038 #2D5390 #902D85 #906A2D
square
#2D9038 #2D5390 #902D85 #906A2D
split-complementary
#2D9038 #6A2D90 #902D53
monochromatic
#103314 #1E6126 #2D9038 #3CBF4A #68D073

Accessibility & contrast

On white

4.07
#2D9038 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2D9038 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9038
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9038#FFFFFF#000000##000000
##2D90381.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92832F
Deuteranopia (green-blind)
#877B3F
Tritanopia (blue-blind)
#0E8C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2d9038;
/* rgb */ color: rgb(45, 144, 56);
/* oklch */ color: oklch(57.7% 0.155 144.9);
Tailwind
colors: {
  custom: {
    50: '#74b172',
    500: '#2d9038',
    950: '#000000',
  },
}
SCSS
$custom: #2d9038;
$custom-light: #74b172;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9038",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 56
  },
  "hsl": {
    "h": 126.667,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.15523,
    "h": 144.9
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#2D9038
secondary
#B662AD
accent
#4CCCDC
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2D9038

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

Preview Lab → · Contrast checker → · Palette generator →

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