#2D7118#2D7118

#2D7118 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.139 H 139.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2D7118
RGBrgb(45, 113, 24)
HSLhsl(106, 65%, 27%)
HSVhsv(106, 79%, 44%)
CMYKcmyk(60.2%, 0%, 78.8%, 55.7%)
CIE-LABlab(41.90, -38.47, 40.18)
CIE-LCHlch(41.90, 55.63, 133.75°)
OKLaboklab(48.64% -0.1058 0.0902)
OKLCHoklch(48.64% 0.139 139.5)
XYZxyz(7.1519, 12.4335, 2.8870)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7118 #5C1871
analogous
#5A7118 #2D7118 #187130
triadic
#2D7118 #182D71 #71182D
tetradic
#2D7118 #185A71 #5C1871 #713018
square
#2D7118 #185A71 #5C1871 #713018
split-complementary
#2D7118 #301871 #71185A
monochromatic
#0A1905 #193F0D #2D7118 #41A323 #57D330

Accessibility & contrast

On white

6.02
#2D7118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2D7118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7118
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7118#FFFFFF#000000##FFFFFF
##2D71181.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#256D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d7118;
/* rgb */ color: rgb(45, 113, 24);
/* oklch */ color: oklch(48.6% 0.139 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f9a5c',
    500: '#2d7118',
    950: '#000000',
  },
}
SCSS
$custom: #2d7118;
$custom-light: #6f9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7118",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 105.843,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48639,
    "c": 0.13902,
    "h": 139.5
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

primary
#2D7118
secondary
#8E3EA6
accent
#40E8C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7118

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

Preview Lab → · Contrast checker → · Palette generator →

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