#2D9017#2D9017

#2D9017 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.177 H 140.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D9017
RGBrgb(45, 144, 23)
HSLhsl(109, 72%, 33%)
HSVhsv(109, 84%, 56%)
CMYKcmyk(68.7%, 0%, 84%, 43.5%)
CIE-LABlab(52.47, -49.93, 50.53)
CIE-LCHlch(52.47, 71.04, 134.66°)
OKLaboklab(57.39% -0.1367 0.1117)
OKLCHoklch(57.39% 0.177 140.7)
XYZxyz(11.2095, 20.5651, 4.1892)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9017 #7A1790
analogous
#699017 #2D9017 #17903E
triadic
#2D9017 #172D90 #90172D
tetradic
#2D9017 #176990 #7A1790 #903E17
square
#2D9017 #176990 #7A1790 #903E17
split-complementary
#2D9017 #3E1790 #901769
monochromatic
#0C2606 #1D5B0F #2D9017 #3DC51F #5EE141

Accessibility & contrast

On white

4.11
#2D9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2D9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9017
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9017#FFFFFF#000000##000000
##2D90171.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#198B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2d9017;
/* rgb */ color: rgb(45, 144, 23);
/* oklch */ color: oklch(57.4% 0.177 140.7);
Tailwind
colors: {
  custom: {
    50: '#75b160',
    500: '#2d9017',
    950: '#000000',
  },
}
SCSS
$custom: #2d9017;
$custom-light: #75b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9017",
  "rgb": {
    "r": 45,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 109.091,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5739,
    "c": 0.17652,
    "h": 140.7
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#2D9017
secondary
#AA42C1
accent
#39EFCE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #2D9017

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

Preview Lab → · Contrast checker → · Palette generator →

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