#2F7C16#2F7C16

#2F7C16 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.153 H 139.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2F7C16
RGBrgb(47, 124, 22)
HSLhsl(105, 70%, 29%)
HSVhsv(105, 82%, 49%)
CMYKcmyk(62.1%, 0%, 82.3%, 51.4%)
CIE-LABlab(45.74, -42.31, 44.60)
CIE-LCHlch(45.74, 61.47, 133.49°)
OKLaboklab(51.83% -0.1164 0.0991)
OKLCHoklch(51.83% 0.153 139.6)
XYZxyz(8.5244, 15.0768, 3.2198)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C16 #63167C
analogous
#627C16 #2F7C16 #167C30
triadic
#2F7C16 #162F7C #7C162F
tetradic
#2F7C16 #16627C #63167C #7C3016
square
#2F7C16 #16627C #63167C #7C3016
split-complementary
#2F7C16 #30167C #7C1662
monochromatic
#0A1A05 #1B480D #2F7C16 #43B01F #5BDB32

Accessibility & contrast

On white

5.23
#2F7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F7C16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C16
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C16#FFFFFF#000000##FFFFFF
##2F7C161.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#257869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7c16;
/* rgb */ color: rgb(47, 124, 22);
/* oklch */ color: oklch(51.8% 0.153 139.6);
Tailwind
colors: {
  custom: {
    50: '#72a35d',
    500: '#2f7c16',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c16;
$custom-light: #72a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c16",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 105.294,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.15285,
    "h": 139.6
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#2F7C16
secondary
#953DB1
accent
#3BEDC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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