#2D7B13#2D7B13

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

Color values

HEX#2D7B13
RGBrgb(45, 123, 19)
HSLhsl(105, 73%, 28%)
HSVhsv(105, 85%, 48%)
CMYKcmyk(63.4%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.32, -42.63, 45.11)
CIE-LCHlch(45.32, 62.07, 133.38°)
OKLaboklab(51.46% -0.1173 0.0997)
OKLCHoklch(51.46% 0.154 139.6)
XYZxyz(8.2823, 14.7701, 3.0304)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7B13 #61137B
analogous
#617B13 #2D7B13 #137B2D
triadic
#2D7B13 #132D7B #7B132D
tetradic
#2D7B13 #13617B #61137B #7B2D13
square
#2D7B13 #13617B #61137B #7B2D13
split-complementary
#2D7B13 #2D137B #7B1361
monochromatic
#0A1B04 #1A460B #2D7B13 #40B01B #57DE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7B13#FFFFFF#000000##FFFFFF
##2D7B131.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)
#756920
Tritanopia (blue-blind)
#237768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7b13;
/* rgb */ color: rgb(45, 123, 19);
/* oklch */ color: oklch(51.5% 0.154 139.6);
Tailwind
colors: {
  custom: {
    50: '#71a25b',
    500: '#2d7b13',
    950: '#000000',
  },
}
SCSS
$custom: #2d7b13;
$custom-light: #71a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7b13",
  "rgb": {
    "r": 45,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 105,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51458,
    "c": 0.15394,
    "h": 139.6
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#2D7B13
secondary
#9339B1
accent
#38F0C2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2D7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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