#2D7418#2D7418

#2D7418 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.143 H 139.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2D7418
RGBrgb(45, 116, 24)
HSLhsl(106, 66%, 27%)
HSVhsv(106, 79%, 45%)
CMYKcmyk(61.2%, 0%, 79.3%, 54.5%)
CIE-LABlab(42.93, -39.64, 41.20)
CIE-LCHlch(42.93, 57.18, 133.90°)
OKLaboklab(49.5% -0.1089 0.0923)
OKLCHoklch(49.5% 0.143 139.7)
XYZxyz(7.4921, 13.1140, 3.0004)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7418 #5F1874
analogous
#5B7418 #2D7418 #187431
triadic
#2D7418 #182D74 #74182D
tetradic
#2D7418 #185B74 #5F1874 #743118
square
#2D7418 #185B74 #5F1874 #743118
split-complementary
#2D7418 #311874 #74185B
monochromatic
#0A1905 #19410E #2D7418 #41A722 #57D532

Accessibility & contrast

On white

5.80
#2D7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2D7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7418
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7418#FFFFFF#000000##FFFFFF
##2D74181.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#6F6322
Tritanopia (blue-blind)
#247063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7418;
/* rgb */ color: rgb(45, 116, 24);
/* oklch */ color: oklch(49.5% 0.143 139.7);
Tailwind
colors: {
  custom: {
    50: '#6f9d5c',
    500: '#2d7418',
    950: '#000000',
  },
}
SCSS
$custom: #2d7418;
$custom-light: #6f9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7418",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 106.304,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49496,
    "c": 0.14281,
    "h": 139.7
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#2D7418
secondary
#913FA9
accent
#3FE9C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7418

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

Preview Lab → · Contrast checker → · Palette generator →

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