#2F7513#2F7513

#2F7513 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.146 H 138.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7513
RGBrgb(47, 117, 19)
HSLhsl(103, 72%, 27%)
HSVhsv(103, 84%, 46%)
CMYKcmyk(59.8%, 0%, 83.8%, 54.1%)
CIE-LABlab(43.32, -39.80, 43.28)
CIE-LCHlch(43.32, 58.80, 132.60°)
OKLaboklab(49.83% -0.1098 0.0959)
OKLCHoklch(49.83% 0.146 138.9)
XYZxyz(7.6508, 13.3733, 2.7941)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7513 #591375
analogous
#607513 #2F7513 #137528
triadic
#2F7513 #132F75 #75132F
tetradic
#2F7513 #136075 #591375 #752813
square
#2F7513 #136075 #591375 #752813
split-complementary
#2F7513 #281375 #751360
monochromatic
#0B1A04 #1A400A #2F7513 #44AA1C #5ADC27

Accessibility & contrast

On white

5.71
#2F7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7513
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7513#FFFFFF#000000##FFFFFF
##2F75131.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641F
Tritanopia (blue-blind)
#287163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7513;
/* rgb */ color: rgb(47, 117, 19);
/* oklch */ color: oklch(49.8% 0.146 138.9);
Tailwind
colors: {
  custom: {
    50: '#719d5a',
    500: '#2f7513',
    950: '#000000',
  },
}
SCSS
$custom: #2f7513;
$custom-light: #719d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7513",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 102.857,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49825,
    "c": 0.14578,
    "h": 138.9
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#2F7513
secondary
#8B38AB
accent
#39EFBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7513

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

Preview Lab → · Contrast checker → · Palette generator →

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