#2F8016#2F8016

#2F8016 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.158 H 139.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F8016
RGBrgb(47, 128, 22)
HSLhsl(106, 71%, 29%)
HSVhsv(106, 83%, 50%)
CMYKcmyk(63.3%, 0%, 82.8%, 49.8%)
CIE-LABlab(47.11, -43.81, 45.88)
CIE-LCHlch(47.11, 63.44, 133.67°)
OKLaboklab(52.96% -0.1204 0.1018)
OKLCHoklch(52.96% 0.158 139.8)
XYZxyz(9.0359, 16.0998, 3.3903)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8016 #671680
analogous
#648016 #2F8016 #168032
triadic
#2F8016 #162F80 #80162F
tetradic
#2F8016 #166480 #671680 #803216
square
#2F8016 #166480 #671680 #803216
split-complementary
#2F8016 #321680 #801664
monochromatic
#0A1A04 #1C4C0D #2F8016 #42B41F #5CDC34

Accessibility & contrast

On white

4.98
#2F8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F8016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8016
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8016#FFFFFF#000000##FFFFFF
##2F80161.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8016;
/* rgb */ color: rgb(47, 128, 22);
/* oklch */ color: oklch(53.0% 0.158 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#2f8016',
    950: '#000000',
  },
}
SCSS
$custom: #2f8016;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8016",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 105.849,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52959,
    "c": 0.15765,
    "h": 139.8
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#2F8016
secondary
#983DB5
accent
#3AEDC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8016

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

Preview Lab → · Contrast checker → · Palette generator →

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