#2D8F1C#2D8F1C

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

Color values

HEX#2D8F1C
RGBrgb(45, 143, 28)
HSLhsl(111, 67%, 34%)
HSVhsv(111, 80%, 56%)
CMYKcmyk(68.5%, 0%, 80.4%, 43.9%)
CIE-LABlab(52.16, -49.29, 48.74)
CIE-LCHlch(52.16, 69.31, 135.32°)
OKLaboklab(57.14% -0.1347 0.1087)
OKLCHoklch(57.14% 0.173 141.1)
XYZxyz(11.1137, 20.2855, 4.4282)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8F1C #7E1C8F
analogous
#668F1C #2D8F1C #1C8F44
triadic
#2D8F1C #1C2D8F #8F1C2D
tetradic
#2D8F1C #1C668F #7E1C8F #8F441C
square
#2D8F1C #1C668F #7E1C8F #8F441C
split-complementary
#2D8F1C #441C8F #8F1C66
monochromatic
#0D2908 #1D5C12 #2D8F1C #3DC226 #5FDC4A

Accessibility & contrast

On white

4.15
#2D8F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2D8F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8F1C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8F1C#FFFFFF#000000##000000
##2D8F1C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#198A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2d8f1c;
/* rgb */ color: rgb(45, 143, 28);
/* oklch */ color: oklch(57.1% 0.173 141.1);
Tailwind
colors: {
  custom: {
    50: '#75b162',
    500: '#2d8f1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d8f1c;
$custom-light: #75b162;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8f1c",
  "rgb": {
    "r": 45,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 111.13,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.17307,
    "h": 141.1
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#2D8F1C
secondary
#AC49BE
accent
#3EEAD1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2D8F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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