#2D8F18#2D8F18

#2D8F18 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.175 H 140.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D8F18
RGBrgb(45, 143, 24)
HSLhsl(109, 71%, 33%)
HSVhsv(109, 83%, 56%)
CMYKcmyk(68.5%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.14, -49.53, 49.94)
CIE-LCHlch(52.14, 70.34, 134.76°)
OKLaboklab(57.12% -0.1356 0.1106)
OKLCHoklch(57.12% 0.175 140.8)
XYZxyz(11.0690, 20.2676, 4.1927)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F18 #7A188F
analogous
#688F18 #2D8F18 #188F3F
triadic
#2D8F18 #182D8F #8F182D
tetradic
#2D8F18 #18688F #7A188F #8F3F18
square
#2D8F18 #18688F #7A188F #8F3F18
split-complementary
#2D8F18 #3F188F #8F1868
monochromatic
#0C2606 #1D5B0F #2D8F18 #3DC321 #5EDF42

Accessibility & contrast

On white

4.16
#2D8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2D8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F18
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F18#FFFFFF#000000##000000
##2D8F181.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#1A8A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f18;
/* rgb */ color: rgb(45, 143, 24);
/* oklch */ color: oklch(57.1% 0.175 140.8);
Tailwind
colors: {
  custom: {
    50: '#75b160',
    500: '#2d8f18',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f18;
$custom-light: #75b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f18",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 109.412,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.17495,
    "h": 140.8
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#2D8F18
secondary
#AA43C0
accent
#3AEECE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2D8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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