#2D8518#2D8518

#2D8518 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.163 H 140.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2D8518
RGBrgb(45, 133, 24)
HSLhsl(108, 69%, 31%)
HSVhsv(108, 82%, 52%)
CMYKcmyk(66.2%, 0%, 82%, 47.8%)
CIE-LABlab(48.76, -46.00, 46.79)
CIE-LCHlch(48.76, 65.61, 134.51°)
OKLaboklab(54.31% -0.1261 0.104)
OKLCHoklch(54.31% 0.163 140.5)
XYZxyz(9.6341, 17.3979, 3.7144)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8518 #701885
analogous
#638518 #2D8518 #188539
triadic
#2D8518 #182D85 #85182D
tetradic
#2D8518 #186385 #701885 #853918
square
#2D8518 #186385 #701885 #853918
split-complementary
#2D8518 #391885 #851863
monochromatic
#0A1D05 #1B510F #2D8518 #3FB921 #5ADC3C

Accessibility & contrast

On white

4.69
#2D8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2D8518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8518
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8518#FFFFFF#000000##FFFFFF
##2D85181.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#1E8071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8518;
/* rgb */ color: rgb(45, 133, 24);
/* oklch */ color: oklch(54.3% 0.163 140.5);
Tailwind
colors: {
  custom: {
    50: '#73a95f',
    500: '#2d8518',
    950: '#000000',
  },
}
SCSS
$custom: #2d8518;
$custom-light: #73a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8518",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 108.44,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54314,
    "c": 0.16342,
    "h": 140.5
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#2D8518
secondary
#A240B9
accent
#3CECCA
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2D8518

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

Preview Lab → · Contrast checker → · Palette generator →

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