#2F7516#2F7516

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

Color values

HEX#2F7516
RGBrgb(47, 117, 22)
HSLhsl(104, 68%, 27%)
HSVhsv(104, 81%, 46%)
CMYKcmyk(59.8%, 0%, 81.2%, 54.1%)
CIE-LABlab(43.34, -39.62, 42.32)
CIE-LCHlch(43.34, 57.97, 133.11°)
OKLaboklab(49.84% -0.1091 0.0943)
OKLCHoklch(49.84% 0.144 139.2)
XYZxyz(7.6781, 13.3842, 2.9377)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7516 #5C1675
analogous
#5E7516 #2F7516 #16752D
triadic
#2F7516 #162F75 #75162F
tetradic
#2F7516 #165E75 #5C1675 #752D16
square
#2F7516 #165E75 #5C1675 #752D16
split-complementary
#2F7516 #2D1675 #75165E
monochromatic
#0A1A05 #1A410C #2F7516 #44A920 #5AD82E

Accessibility & contrast

On white

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

On black

3.68
#2F7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7516#FFFFFF#000000##FFFFFF
##2F75161.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#277163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7516;
/* rgb */ color: rgb(47, 117, 22);
/* oklch */ color: oklch(49.8% 0.144 139.2);
Tailwind
colors: {
  custom: {
    50: '#719d5c',
    500: '#2f7516',
    950: '#000000',
  },
}
SCSS
$custom: #2f7516;
$custom-light: #719d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7516",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 104.211,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.14426,
    "h": 139.2
  },
  "luminance": 0.13385
}

Semantic roles & 50–950 ramp

primary
#2F7516
secondary
#8E3CAB
accent
#3DEBBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7516

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

Preview Lab → · Contrast checker → · Palette generator →

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