#2D8F2A#2D8F2A

#2D8F2A is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.165 H 142.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2D8F2A
RGBrgb(45, 143, 42)
HSLhsl(118, 55%, 36%)
HSVhsv(118, 71%, 56%)
CMYKcmyk(68.5%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.25, -48.17, 43.63)
CIE-LCHlch(52.25, 64.99, 137.83°)
OKLaboklab(57.25% -0.131 0.0999)
OKLCHoklch(57.25% 0.165 142.7)
XYZxyz(11.3219, 20.3688, 5.5249)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F2A #8C2A8F
analogous
#608F2A #2D8F2A #2A8F5A
triadic
#2D8F2A #2A2D8F #8F2A2D
tetradic
#2D8F2A #2A608F #8C2A8F #8F5A2A
square
#2D8F2A #2A608F #8C2A8F #8F5A2A
split-complementary
#2D8F2A #5A2A8F #8F2A60
monochromatic
#0F300E #1E601C #2D8F2A #3CBE38 #66D162

Accessibility & contrast

On white

4.14
#2D8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2D8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F2A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F2A#FFFFFF#000000##000000
##2D8F2A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#158B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f2a;
/* rgb */ color: rgb(45, 143, 42);
/* oklch */ color: oklch(57.2% 0.165 142.7);
Tailwind
colors: {
  custom: {
    50: '#74b169',
    500: '#2d8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f2a;
$custom-light: #74b169;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f2a",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 118.218,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.16473,
    "h": 142.7
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#2D8F2A
secondary
#B45EB7
accent
#4ADEDA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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