#2F8017#2F8017

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

Color values

HEX#2F8017
RGBrgb(47, 128, 23)
HSLhsl(106, 70%, 30%)
HSVhsv(106, 82%, 50%)
CMYKcmyk(63.3%, 0%, 82%, 49.8%)
CIE-LABlab(47.11, -43.75, 45.57)
CIE-LCHlch(47.11, 63.17, 133.83°)
OKLaboklab(52.97% -0.1202 0.1013)
OKLCHoklch(52.97% 0.157 139.9)
XYZxyz(9.0457, 16.1037, 3.4421)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8017 #681780
analogous
#638017 #2F8017 #178034
triadic
#2F8017 #172F80 #80172F
tetradic
#2F8017 #176380 #681780 #803417
square
#2F8017 #176380 #681780 #803417
split-complementary
#2F8017 #341780 #801763
monochromatic
#0A1A05 #1C4C0E #2F8017 #42B420 #5CDB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8017#FFFFFF#000000##FFFFFF
##2F80171.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)
#7A6D24
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8017;
/* rgb */ color: rgb(47, 128, 23);
/* oklch */ color: oklch(53.0% 0.157 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a65e',
    500: '#2f8017',
    950: '#000000',
  },
}
SCSS
$custom: #2f8017;
$custom-light: #73a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8017",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 106.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.15717,
    "h": 139.9
  },
  "luminance": 0.16105
}

Semantic roles & 50–950 ramp

primary
#2F8017
secondary
#993EB4
accent
#3BECC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8017

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

Preview Lab → · Contrast checker → · Palette generator →

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