#2D8A1C#2D8A1C

#2D8A1C is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.167 H 141.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2D8A1C
RGBrgb(45, 138, 28)
HSLhsl(111, 66%, 33%)
HSVhsv(111, 80%, 54%)
CMYKcmyk(67.4%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.47, -47.53, 47.12)
CIE-LCHlch(50.47, 66.93, 135.25°)
OKLaboklab(55.74% -0.13 0.1053)
OKLCHoklch(55.74% 0.167 141)
XYZxyz(10.3797, 18.8176, 4.1835)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8A1C #791C8A
analogous
#648A1C #2D8A1C #1C8A42
triadic
#2D8A1C #1C2D8A #8A1C2D
tetradic
#2D8A1C #1C648A #791C8A #8A421C
square
#2D8A1C #1C648A #791C8A #8A421C
split-complementary
#2D8A1C #421C8A #8A1C64
monochromatic
#0C2407 #1C5712 #2D8A1C #3EBD26 #5DDA47

Accessibility & contrast

On white

4.41
#2D8A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2D8A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8A1C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8A1C#FFFFFF#000000##000000
##2D8A1C1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837529
Tritanopia (blue-blind)
#1C8575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d8a1c;
/* rgb */ color: rgb(45, 138, 28);
/* oklch */ color: oklch(55.7% 0.167 141.0);
Tailwind
colors: {
  custom: {
    50: '#74ad61',
    500: '#2d8a1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d8a1c;
$custom-light: #74ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8a1c",
  "rgb": {
    "r": 45,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 110.727,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55742,
    "c": 0.16727,
    "h": 141
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

primary
#2D8A1C
secondary
#A946BB
accent
#3FE9CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2D8A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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