#2F7B16#2F7B16

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

Color values

HEX#2F7B16
RGBrgb(47, 123, 22)
HSLhsl(105, 70%, 28%)
HSVhsv(105, 82%, 48%)
CMYKcmyk(61.8%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.40, -41.93, 44.28)
CIE-LCHlch(45.40, 60.98, 133.44°)
OKLaboklab(51.55% -0.1153 0.0984)
OKLCHoklch(51.55% 0.152 139.5)
XYZxyz(8.3997, 14.8274, 3.1782)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B16 #62167B
analogous
#617B16 #2F7B16 #167B30
triadic
#2F7B16 #162F7B #7B162F
tetradic
#2F7B16 #16617B #62167B #7B3016
square
#2F7B16 #16617B #62167B #7B3016
split-complementary
#2F7B16 #30167B #7B1661
monochromatic
#0A1A05 #1B470D #2F7B16 #43AF1F #5BDA31

Accessibility & contrast

On white

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

On black

3.97
#2F7B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7B16#FFFFFF#000000##FFFFFF
##2F7B161.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7b16;
/* rgb */ color: rgb(47, 123, 22);
/* oklch */ color: oklch(51.5% 0.152 139.5);
Tailwind
colors: {
  custom: {
    50: '#72a25d',
    500: '#2f7b16',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b16;
$custom-light: #72a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b16",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 105.149,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.15164,
    "h": 139.5
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#2F7B16
secondary
#943DB0
accent
#3BECC1
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7B16

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

Preview Lab → · Contrast checker → · Palette generator →

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