#2D7114#2D7114

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

Color values

HEX#2D7114
RGBrgb(45, 113, 20)
HSLhsl(104, 70%, 26%)
HSVhsv(104, 82%, 44%)
CMYKcmyk(60.2%, 0%, 82.3%, 55.7%)
CIE-LABlab(41.87, -38.74, 41.58)
CIE-LCHlch(41.87, 56.83, 132.98°)
OKLaboklab(48.61% -0.1068 0.0925)
OKLCHoklch(48.61% 0.141 139.1)
XYZxyz(7.1133, 12.4180, 2.6838)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7114 #581471
analogous
#5B7114 #2D7114 #147129
triadic
#2D7114 #142D71 #71142D
tetradic
#2D7114 #145B71 #581471 #712914
square
#2D7114 #145B71 #581471 #712914
split-complementary
#2D7114 #291471 #71145B
monochromatic
#0A1A05 #183D0B #2D7114 #42A51D #57D927

Accessibility & contrast

On white

6.03
#2D7114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2D7114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7114
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7114#FFFFFF#000000##FFFFFF
##2D71141.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#266D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d7114;
/* rgb */ color: rgb(45, 113, 20);
/* oklch */ color: oklch(48.6% 0.141 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f9a5a',
    500: '#2d7114',
    950: '#000000',
  },
}
SCSS
$custom: #2d7114;
$custom-light: #6f9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7114",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 103.871,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48611,
    "c": 0.14127,
    "h": 139.1
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#2D7114
secondary
#8A39A7
accent
#3BEDBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2D7114

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

Preview Lab → · Contrast checker → · Palette generator →

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