#2F8014#2F8014

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

Color values

HEX#2F8014
RGBrgb(47, 128, 20)
HSLhsl(105, 73%, 29%)
HSVhsv(105, 84%, 50%)
CMYKcmyk(63.3%, 0%, 84.4%, 49.8%)
CIE-LABlab(47.10, -43.92, 46.48)
CIE-LCHlch(47.10, 63.94, 133.38°)
OKLaboklab(52.95% -0.1208 0.1027)
OKLCHoklch(52.95% 0.159 139.6)
XYZxyz(9.0173, 16.0923, 3.2926)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8014 #651480
analogous
#658014 #2F8014 #14802F
triadic
#2F8014 #142F80 #80142F
tetradic
#2F8014 #146580 #651480 #802F14
square
#2F8014 #146580 #651480 #802F14
split-complementary
#2F8014 #2F1480 #801465
monochromatic
#0A1A04 #1C4B0C #2F8014 #42B51C #5BDF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8014#FFFFFF#000000##FFFFFF
##2F80141.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)
#7A6D22
Tritanopia (blue-blind)
#247B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8014;
/* rgb */ color: rgb(47, 128, 20);
/* oklch */ color: oklch(52.9% 0.159 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#2f8014',
    950: '#000000',
  },
}
SCSS
$custom: #2f8014;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8014",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 105,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.15858,
    "h": 139.6
  },
  "luminance": 0.16093
}

Semantic roles & 50–950 ramp

primary
#2F8014
secondary
#973BB5
accent
#38F0C2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8014

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

Preview Lab → · Contrast checker → · Palette generator →

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