#2D7B14#2D7B14

#2D7B14 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.153 H 139.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2D7B14
RGBrgb(45, 123, 20)
HSLhsl(105, 72%, 28%)
HSVhsv(105, 84%, 48%)
CMYKcmyk(63.4%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.32, -42.57, 44.81)
CIE-LCHlch(45.32, 61.81, 133.53°)
OKLaboklab(51.46% -0.117 0.0993)
OKLCHoklch(51.46% 0.153 139.7)
XYZxyz(8.2910, 14.7735, 3.0763)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B14 #62147B
analogous
#607B14 #2D7B14 #147B2E
triadic
#2D7B14 #142D7B #7B142D
tetradic
#2D7B14 #14607B #62147B #7B2E14
square
#2D7B14 #14607B #62147B #7B2E14
split-complementary
#2D7B14 #2E147B #7B1460
monochromatic
#0A1A04 #1A460B #2D7B14 #40B01D #57DD2D

Accessibility & contrast

On white

5.31
#2D7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2D7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7B14
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7B14#FFFFFF#000000##FFFFFF
##2D7B141.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#237768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7b14;
/* rgb */ color: rgb(45, 123, 20);
/* oklch */ color: oklch(51.5% 0.153 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a25c',
    500: '#2d7b14',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b14;
$custom-light: #71a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b14",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 105.437,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.15348,
    "h": 139.7
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#2D7B14
secondary
#943AB1
accent
#39EFC3
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2D7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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