#2D8F15#2D8F15

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

Color values

HEX#2D8F15
RGBrgb(45, 143, 21)
HSLhsl(108, 74%, 32%)
HSVhsv(108, 85%, 56%)
CMYKcmyk(68.5%, 0%, 85.3%, 43.9%)
CIE-LABlab(52.13, -49.69, 50.77)
CIE-LCHlch(52.13, 71.04, 134.39°)
OKLaboklab(57.1% -0.1361 0.1119)
OKLCHoklch(57.1% 0.176 140.6)
XYZxyz(11.0395, 20.2558, 4.0373)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F15 #77158F
analogous
#6A8F15 #2D8F15 #158F3A
triadic
#2D8F15 #152D8F #8F152D
tetradic
#2D8F15 #156A8F #77158F #8F3A15
square
#2D8F15 #156A8F #77158F #8F3A15
split-complementary
#2D8F15 #3A158F #8F156A
monochromatic
#0B2405 #1C5A0D #2D8F15 #3EC41D #5DE23C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D8F15#FFFFFF#000000##000000
##2D8F151.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)
#887925
Tritanopia (blue-blind)
#1A8A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f15;
/* rgb */ color: rgb(45, 143, 21);
/* oklch */ color: oklch(57.1% 0.176 140.6);
Tailwind
colors: {
  custom: {
    50: '#75b15f',
    500: '#2d8f15',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f15;
$custom-light: #75b15f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f15",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 108.197,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57101,
    "c": 0.17621,
    "h": 140.6
  },
  "luminance": 0.20257
}

Semantic roles & 50–950 ramp

primary
#2D8F15
secondary
#A83EC2
accent
#37F1CC
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #2D8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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