#2D8F2C#2D8F2C

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

Color values

HEX#2D8F2C
RGBrgb(45, 143, 44)
HSLhsl(119, 53%, 37%)
HSVhsv(119, 69%, 56%)
CMYKcmyk(68.5%, 0%, 69.2%, 43.9%)
CIE-LABlab(52.27, -47.98, 42.81)
CIE-LCHlch(52.27, 64.30, 138.26°)
OKLaboklab(57.27% -0.1303 0.0984)
OKLCHoklch(57.27% 0.163 142.9)
XYZxyz(11.3586, 20.3835, 5.7182)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F2C #8E2C8F
analogous
#5F8F2C #2D8F2C #2C8F5D
triadic
#2D8F2C #2C2D8F #8F2C2D
tetradic
#2D8F2C #2C5F8F #8E2C8F #8F5D2C
square
#2D8F2C #2C5F8F #8E2C8F #8F5D2C
split-complementary
#2D8F2C #5D2C8F #8F2C5F
monochromatic
#10310F #1E601E #2D8F2C #3CBE3A #67D066

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8F2C#FFFFFF#000000##000000
##2D8F2C1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92821E
Deuteranopia (green-blind)
#867A35
Tritanopia (blue-blind)
#158B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d8f2c;
/* rgb */ color: rgb(45, 143, 44);
/* oklch */ color: oklch(57.3% 0.163 142.9);
Tailwind
colors: {
  custom: {
    50: '#74b16a',
    500: '#2d8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f2c;
$custom-light: #74b16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f2c",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 119.394,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.16332,
    "h": 142.9
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#2D8F2C
secondary
#B561B6
accent
#4BDCDB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #2D8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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