#2F7C13#2F7C13

#2F7C13 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.154 H 139.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F7C13
RGBrgb(47, 124, 19)
HSLhsl(104, 73%, 28%)
HSVhsv(104, 85%, 49%)
CMYKcmyk(62.1%, 0%, 84.7%, 51.4%)
CIE-LABlab(45.72, -42.48, 45.51)
CIE-LCHlch(45.72, 62.26, 133.03°)
OKLaboklab(51.81% -0.117 0.1006)
OKLCHoklch(51.81% 0.154 139.3)
XYZxyz(8.4971, 15.0659, 3.0762)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C13 #60137C
analogous
#637C13 #2F7C13 #137C2B
triadic
#2F7C13 #132F7C #7C132F
tetradic
#2F7C13 #13637C #60137C #7C2B13
square
#2F7C13 #13637C #60137C #7C2B13
split-complementary
#2F7C13 #2B137C #7C1363
monochromatic
#0A1B04 #1B470B #2F7C13 #43B11B #5BDF2B

Accessibility & contrast

On white

5.23
#2F7C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2F7C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C13
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C13#FFFFFF#000000##FFFFFF
##2F7C131.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#267869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7c13;
/* rgb */ color: rgb(47, 124, 19);
/* oklch */ color: oklch(51.8% 0.154 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a35b',
    500: '#2f7c13',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c13;
$custom-light: #72a35b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c13",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 104,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.15427,
    "h": 139.3
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#2F7C13
secondary
#9239B2
accent
#38F0BF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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