#2D8918#2D8918

#2D8918 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.168 H 140.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2D8918
RGBrgb(45, 137, 24)
HSLhsl(109, 70%, 32%)
HSVhsv(109, 82%, 54%)
CMYKcmyk(67.2%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.11, -47.43, 48.06)
CIE-LCHlch(50.11, 67.52, 134.62°)
OKLaboklab(55.44% -0.1299 0.1067)
OKLCHoklch(55.44% 0.168 140.6)
XYZxyz(10.1922, 18.5141, 3.9004)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8918 #741889
analogous
#668918 #2D8918 #18893C
triadic
#2D8918 #182D89 #89182D
tetradic
#2D8918 #186689 #741889 #893C18
square
#2D8918 #186689 #741889 #893C18
split-complementary
#2D8918 #3C1889 #891866
monochromatic
#0B2106 #1C550F #2D8918 #3EBD21 #5CDD3E

Accessibility & contrast

On white

4.47
#2D8918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2D8918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8918
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8918#FFFFFF#000000##000000
##2D89181.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#1D8474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8918;
/* rgb */ color: rgb(45, 137, 24);
/* oklch */ color: oklch(55.4% 0.168 140.6);
Tailwind
colors: {
  custom: {
    50: '#74ac60',
    500: '#2d8918',
    950: '#000000',
  },
}
SCSS
$custom: #2d8918;
$custom-light: #74ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8918",
  "rgb": {
    "r": 45,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 108.85,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55438,
    "c": 0.16808,
    "h": 140.6
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#2D8918
secondary
#A540BD
accent
#3BEDCC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8918

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

Preview Lab → · Contrast checker → · Palette generator →

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