#2F7D13#2F7D13

#2F7D13 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.155 H 139.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F7D13
RGBrgb(47, 125, 19)
HSLhsl(104, 74%, 28%)
HSVhsv(104, 85%, 49%)
CMYKcmyk(62.4%, 0%, 84.8%, 51%)
CIE-LABlab(46.07, -42.86, 45.82)
CIE-LCHlch(46.07, 62.74, 133.09°)
OKLaboklab(52.1% -0.118 0.1012)
OKLCHoklch(52.1% 0.155 139.4)
XYZxyz(8.6231, 15.3178, 3.1182)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D13 #61137D
analogous
#647D13 #2F7D13 #137D2C
triadic
#2F7D13 #132F7D #7D132F
tetradic
#2F7D13 #13647D #61137D #7D2C13
square
#2F7D13 #13647D #61137D #7D2C13
split-complementary
#2F7D13 #2C137D #7D1364
monochromatic
#0A1B04 #1B480B #2F7D13 #43B21B #5BDF2C

Accessibility & contrast

On white

5.17
#2F7D13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F7D13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D13
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D13#FFFFFF#000000##FFFFFF
##2F7D131.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#25796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d13;
/* rgb */ color: rgb(47, 125, 19);
/* oklch */ color: oklch(52.1% 0.155 139.4);
Tailwind
colors: {
  custom: {
    50: '#72a35c',
    500: '#2f7d13',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d13;
$custom-light: #72a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d13",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 104.151,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.15546,
    "h": 139.4
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#2F7D13
secondary
#9339B3
accent
#38F0BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7D13

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

Preview Lab → · Contrast checker → · Palette generator →

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