#2D8C1F#2D8C1F

#2D8C1F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.168 H 141.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2D8C1F
RGBrgb(45, 140, 31)
HSLhsl(112, 64%, 34%)
HSVhsv(112, 78%, 55%)
CMYKcmyk(67.9%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.17, -48.03, 46.76)
CIE-LCHlch(51.17, 67.03, 135.76°)
OKLaboklab(56.32% -0.1312 0.105)
OKLCHoklch(56.32% 0.168 141.3)
XYZxyz(10.7070, 19.4119, 4.4787)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8C1F #7E1F8C
analogous
#638C1F #2D8C1F #1F8C47
triadic
#2D8C1F #1F2D8C #8C1F2D
tetradic
#2D8C1F #1F638C #7E1F8C #8C471F
square
#2D8C1F #1F638C #7E1F8C #8C471F
split-complementary
#2D8C1F #471F8C #8C1F63
monochromatic
#0D2809 #1D5A14 #2D8C1F #3DBE2A #5FD84E

Accessibility & contrast

On white

4.30
#2D8C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2D8C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8C1F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8C1F#FFFFFF#000000##000000
##2D8C1F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#1A8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2d8c1f;
/* rgb */ color: rgb(45, 140, 31);
/* oklch */ color: oklch(56.3% 0.168 141.3);
Tailwind
colors: {
  custom: {
    50: '#74af63',
    500: '#2d8c1f',
    950: '#000000',
  },
}
SCSS
$custom: #2d8c1f;
$custom-light: #74af63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8c1f",
  "rgb": {
    "r": 45,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 112.294,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.16799,
    "h": 141.3
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#2D8C1F
secondary
#AC4CBB
accent
#41E7D1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2D8C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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