#2D8E18#2D8E18

#2D8E18 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.174 H 140.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2D8E18
RGBrgb(45, 142, 24)
HSLhsl(109, 71%, 33%)
HSVhsv(109, 83%, 56%)
CMYKcmyk(68.3%, 0%, 83.1%, 44.3%)
CIE-LABlab(51.80, -49.18, 49.63)
CIE-LCHlch(51.80, 69.87, 134.74°)
OKLaboklab(56.84% -0.1346 0.1099)
OKLCHoklch(56.84% 0.174 140.8)
XYZxyz(10.9195, 19.9687, 4.1429)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8E18 #79188E
analogous
#688E18 #2D8E18 #188E3E
triadic
#2D8E18 #182D8E #8E182D
tetradic
#2D8E18 #18688E #79188E #8E3E18
square
#2D8E18 #18688E #79188E #8E3E18
split-complementary
#2D8E18 #3E188E #8E1868
monochromatic
#0C2506 #1C5A0F #2D8E18 #3EC221 #5DDF41

Accessibility & contrast

On white

4.21
#2D8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2D8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8E18
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8E18#FFFFFF#000000##000000
##2D8E181.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#1A8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2d8e18;
/* rgb */ color: rgb(45, 142, 24);
/* oklch */ color: oklch(56.8% 0.174 140.8);
Tailwind
colors: {
  custom: {
    50: '#75b060',
    500: '#2d8e18',
    950: '#000000',
  },
}
SCSS
$custom: #2d8e18;
$custom-light: #75b060;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8e18",
  "rgb": {
    "r": 45,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 109.322,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56837,
    "c": 0.17382,
    "h": 140.8
  },
  "luminance": 0.1997
}

Semantic roles & 50–950 ramp

primary
#2D8E18
secondary
#A942C0
accent
#3AEECE
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2D8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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