#2D7412#2D7412

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

Color values

HEX#2D7412
RGBrgb(45, 116, 18)
HSLhsl(103, 73%, 26%)
HSVhsv(103, 84%, 45%)
CMYKcmyk(61.2%, 0%, 84.5%, 54.5%)
CIE-LABlab(42.90, -40.03, 43.18)
CIE-LCHlch(42.90, 58.88, 132.83°)
OKLaboklab(49.46% -0.1103 0.0956)
OKLCHoklch(49.46% 0.146 139.1)
XYZxyz(7.4365, 13.0917, 2.7072)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7412 #591274
analogous
#5E7412 #2D7412 #127428
triadic
#2D7412 #122D74 #74122D
tetradic
#2D7412 #125E74 #591274 #742812
square
#2D7412 #125E74 #591274 #742812
split-complementary
#2D7412 #281274 #74125E
monochromatic
#0A1A04 #183F0A #2D7412 #42A91A #57DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7412#FFFFFF#000000##FFFFFF
##2D74121.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)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#257062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2d7412;
/* rgb */ color: rgb(45, 116, 18);
/* oklch */ color: oklch(49.5% 0.146 139.1);
Tailwind
colors: {
  custom: {
    50: '#709d5a',
    500: '#2d7412',
    950: '#000000',
  },
}
SCSS
$custom: #2d7412;
$custom-light: #709d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7412",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 103.469,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49458,
    "c": 0.14596,
    "h": 139.1
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#2D7412
secondary
#8B37AB
accent
#38F0BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7412

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

Preview Lab → · Contrast checker → · Palette generator →

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