#2F7F13#2F7F13

#2F7F13 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.158 H 139.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F7F13
RGBrgb(47, 127, 19)
HSLhsl(104, 74%, 29%)
HSVhsv(104, 85%, 50%)
CMYKcmyk(63%, 0%, 85%, 50.2%)
CIE-LABlab(46.75, -43.60, 46.45)
CIE-LCHlch(46.75, 63.71, 133.19°)
OKLaboklab(52.66% -0.12 0.1025)
OKLCHoklch(52.66% 0.158 139.5)
XYZxyz(8.8788, 15.8293, 3.2034)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F13 #63137F
analogous
#657F13 #2F7F13 #137F2D
triadic
#2F7F13 #132F7F #7F132F
tetradic
#2F7F13 #13657F #63137F #7F2D13
square
#2F7F13 #13657F #63137F #7F2D13
split-complementary
#2F7F13 #2D137F #7F1365
monochromatic
#0A1B04 #1B4A0B #2F7F13 #43B41B #5BE02D

Accessibility & contrast

On white

5.04
#2F7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F13
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F13#FFFFFF#000000##FFFFFF
##2F7F131.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7f13;
/* rgb */ color: rgb(47, 127, 19);
/* oklch */ color: oklch(52.7% 0.158 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a55c',
    500: '#2f7f13',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f13;
$custom-light: #73a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f13",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 104.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.15783,
    "h": 139.5
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#2F7F13
secondary
#9539B4
accent
#37F1C1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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