#2D7F13#2D7F13

#2D7F13 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.159 H 139.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D7F13
RGBrgb(45, 127, 19)
HSLhsl(106, 74%, 29%)
HSVhsv(106, 85%, 50%)
CMYKcmyk(64.6%, 0%, 85%, 50.2%)
CIE-LABlab(46.69, -44.11, 46.37)
CIE-LCHlch(46.69, 64.00, 133.57°)
OKLaboklab(52.59% -0.1212 0.1024)
OKLCHoklch(52.59% 0.159 139.8)
XYZxyz(8.7887, 15.7828, 3.1992)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F13 #65137F
analogous
#637F13 #2D7F13 #137F2F
triadic
#2D7F13 #132D7F #7F132D
tetradic
#2D7F13 #13637F #65137F #7F2F13
square
#2D7F13 #13637F #65137F #7F2F13
split-complementary
#2D7F13 #2F137F #7F1363
monochromatic
#091B04 #1A4A0B #2D7F13 #40B41B #58E02D

Accessibility & contrast

On white

5.05
#2D7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2D7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F13
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F13#FFFFFF#000000##FFFFFF
##2D7F131.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#217B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7f13;
/* rgb */ color: rgb(45, 127, 19);
/* oklch */ color: oklch(52.6% 0.159 139.8);
Tailwind
colors: {
  custom: {
    50: '#72a55c',
    500: '#2d7f13',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f13;
$custom-light: #72a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f13",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 105.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.15868,
    "h": 139.8
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#2D7F13
secondary
#9739B4
accent
#37F1C4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2D7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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