#2D7014#2D7014

#2D7014 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.140 H 139.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2D7014
RGBrgb(45, 112, 20)
HSLhsl(104, 70%, 26%)
HSVhsv(104, 82%, 44%)
CMYKcmyk(59.8%, 0%, 82.1%, 56.1%)
CIE-LABlab(41.53, -38.35, 41.25)
CIE-LCHlch(41.53, 56.32, 132.92°)
OKLaboklab(48.33% -0.1057 0.0918)
OKLCHoklch(48.33% 0.14 139)
XYZxyz(7.0023, 12.1961, 2.6468)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7014 #571470
analogous
#5B7014 #2D7014 #147029
triadic
#2D7014 #142D70 #70142D
tetradic
#2D7014 #145B70 #571470 #702914
square
#2D7014 #145B70 #571470 #702914
split-complementary
#2D7014 #291470 #70145B
monochromatic
#0A1A05 #183C0B #2D7014 #42A41D #57D827

Accessibility & contrast

On white

6.11
#2D7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2D7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7014
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7014#FFFFFF#000000##FFFFFF
##2D70141.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#266C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d7014;
/* rgb */ color: rgb(45, 112, 20);
/* oklch */ color: oklch(48.3% 0.140 139.0);
Tailwind
colors: {
  custom: {
    50: '#6f9a5a',
    500: '#2d7014',
    950: '#000000',
  },
}
SCSS
$custom: #2d7014;
$custom-light: #6f9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7014",
  "rgb": {
    "r": 45,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 103.696,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48325,
    "c": 0.14001,
    "h": 139
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#2D7014
secondary
#8939A6
accent
#3BEDBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7014

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

Preview Lab → · Contrast checker → · Palette generator →

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