#2D7314#2D7314

#2D7314 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.144 H 139.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2D7314
RGBrgb(45, 115, 20)
HSLhsl(104, 70%, 26%)
HSVhsv(104, 83%, 45%)
CMYKcmyk(60.9%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.57, -39.53, 42.23)
CIE-LCHlch(42.57, 57.84, 133.10°)
OKLaboklab(49.18% -0.1089 0.0939)
OKLCHoklch(49.18% 0.144 139.2)
XYZxyz(7.3389, 12.8692, 2.7590)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7314 #5A1473
analogous
#5D7314 #2D7314 #14732B
triadic
#2D7314 #142D73 #73142D
tetradic
#2D7314 #145D73 #5A1473 #732B14
square
#2D7314 #145D73 #5A1473 #732B14
split-complementary
#2D7314 #2B1473 #73145D
monochromatic
#0A1A05 #193F0B #2D7314 #41A71D #57DA28

Accessibility & contrast

On white

5.88
#2D7314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2D7314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7314
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7314#FFFFFF#000000##FFFFFF
##2D73141.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#256F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7314;
/* rgb */ color: rgb(45, 115, 20);
/* oklch */ color: oklch(49.2% 0.144 139.2);
Tailwind
colors: {
  custom: {
    50: '#6f9c5a',
    500: '#2d7314',
    950: '#000000',
  },
}
SCSS
$custom: #2d7314;
$custom-light: #6f9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7314",
  "rgb": {
    "r": 45,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 104.211,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.14375,
    "h": 139.2
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#2D7314
secondary
#8C3AA9
accent
#3BEDBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7314

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

Preview Lab → · Contrast checker → · Palette generator →

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