#2F7D14#2F7D14

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

Color values

HEX#2F7D14
RGBrgb(47, 125, 20)
HSLhsl(105, 72%, 28%)
HSVhsv(105, 84%, 49%)
CMYKcmyk(62.4%, 0%, 84%, 51%)
CIE-LABlab(46.07, -42.80, 45.53)
CIE-LCHlch(46.07, 62.49, 133.23°)
OKLaboklab(52.1% -0.1178 0.1008)
OKLCHoklch(52.1% 0.155 139.5)
XYZxyz(8.6318, 15.3213, 3.1641)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D14 #62147D
analogous
#637D14 #2F7D14 #147D2D
triadic
#2F7D14 #142F7D #7D142F
tetradic
#2F7D14 #14637D #62147D #7D2D14
square
#2F7D14 #14637D #62147D #7D2D14
split-complementary
#2F7D14 #2D147D #7D1463
monochromatic
#0A1A04 #1B480C #2F7D14 #43B21C #5BDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7D14#FFFFFF#000000##FFFFFF
##2F7D141.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)
#776B21
Tritanopia (blue-blind)
#25796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d14;
/* rgb */ color: rgb(47, 125, 20);
/* oklch */ color: oklch(52.1% 0.155 139.5);
Tailwind
colors: {
  custom: {
    50: '#72a35c',
    500: '#2f7d14',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d14;
$custom-light: #72a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d14",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 104.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.15501,
    "h": 139.5
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#2F7D14
secondary
#943AB2
accent
#39EFC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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