#2D8F24#2D8F24

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

Color values

HEX#2D8F24
RGBrgb(45, 143, 36)
HSLhsl(115, 60%, 35%)
HSVhsv(115, 75%, 56%)
CMYKcmyk(68.5%, 0%, 74.8%, 43.9%)
CIE-LABlab(52.21, -48.70, 45.97)
CIE-LCHlch(52.21, 66.97, 136.65°)
OKLaboklab(57.19% -0.1327 0.104)
OKLCHoklch(57.19% 0.169 141.9)
XYZxyz(11.2225, 20.3290, 5.0012)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F24 #86248F
analogous
#638F24 #2D8F24 #248F50
triadic
#2D8F24 #242D8F #8F242D
tetradic
#2D8F24 #24638F #86248F #8F5024
square
#2D8F24 #24638F #86248F #8F5024
split-complementary
#2D8F24 #50248F #8F2463
monochromatic
#0E2D0B #1E5E18 #2D8F24 #3CC030 #63D558

Accessibility & contrast

On white

4.15
#2D8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8F24#FFFFFF#000000##000000
##2D8F241.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#178B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f24;
/* rgb */ color: rgb(45, 143, 36);
/* oklch */ color: oklch(57.2% 0.169 141.9);
Tailwind
colors: {
  custom: {
    50: '#74b166',
    500: '#2d8f24',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f24;
$custom-light: #74b166;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f24",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 114.953,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.16863,
    "h": 141.9
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#2D8F24
secondary
#B155B9
accent
#45E3D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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