#2F7B13#2F7B13

#2F7B13 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.153 H 139.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2F7B13
RGBrgb(47, 123, 19)
HSLhsl(104, 73%, 28%)
HSVhsv(104, 85%, 48%)
CMYKcmyk(61.8%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.38, -42.11, 45.19)
CIE-LCHlch(45.38, 61.77, 132.97°)
OKLaboklab(51.53% -0.116 0.0999)
OKLCHoklch(51.53% 0.153 139.3)
XYZxyz(8.3724, 14.8165, 3.0346)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B13 #5F137B
analogous
#637B13 #2F7B13 #137B2B
triadic
#2F7B13 #132F7B #7B132F
tetradic
#2F7B13 #13637B #5F137B #7B2B13
square
#2F7B13 #13637B #5F137B #7B2B13
split-complementary
#2F7B13 #2B137B #7B1363
monochromatic
#0A1B04 #1B460B #2F7B13 #43B01B #5BDE2A

Accessibility & contrast

On white

5.30
#2F7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2F7B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B13
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B13#FFFFFF#000000##FFFFFF
##2F7B131.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#267768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7b13;
/* rgb */ color: rgb(47, 123, 19);
/* oklch */ color: oklch(51.5% 0.153 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a25b',
    500: '#2f7b13',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b13;
$custom-light: #72a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b13",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 103.846,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51529,
    "c": 0.15307,
    "h": 139.3
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#2F7B13
secondary
#9139B1
accent
#38F0BE
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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