#2F7C14#2F7C14

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

Color values

HEX#2F7C14
RGBrgb(47, 124, 20)
HSLhsl(104, 72%, 28%)
HSVhsv(104, 84%, 49%)
CMYKcmyk(62.1%, 0%, 83.9%, 51.4%)
CIE-LABlab(45.73, -42.43, 45.21)
CIE-LCHlch(45.73, 62.00, 133.18°)
OKLaboklab(51.82% -0.1168 0.1001)
OKLCHoklch(51.82% 0.154 139.4)
XYZxyz(8.5058, 15.0694, 3.1221)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C14 #61147C
analogous
#637C14 #2F7C14 #147C2D
triadic
#2F7C14 #142F7C #7C142F
tetradic
#2F7C14 #14637C #61147C #7C2D14
square
#2F7C14 #14637C #61147C #7C2D14
split-complementary
#2F7C14 #2D147C #7C1463
monochromatic
#0A1A04 #1B470B #2F7C14 #43B11D #5BDD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7C14#FFFFFF#000000##FFFFFF
##2F7C141.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)
#766A21
Tritanopia (blue-blind)
#267869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7c14;
/* rgb */ color: rgb(47, 124, 20);
/* oklch */ color: oklch(51.8% 0.154 139.4);
Tailwind
colors: {
  custom: {
    50: '#72a35c',
    500: '#2f7c14',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c14;
$custom-light: #72a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c14",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 104.423,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51818,
    "c": 0.1538,
    "h": 139.4
  },
  "luminance": 0.1507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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