#2F8013#2F8013

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

Color values

HEX#2F8013
RGBrgb(47, 128, 19)
HSLhsl(105, 74%, 29%)
HSVhsv(105, 85%, 50%)
CMYKcmyk(63.3%, 0%, 85.2%, 49.8%)
CIE-LABlab(47.09, -43.97, 46.76)
CIE-LCHlch(47.09, 64.19, 133.24°)
OKLaboklab(52.94% -0.121 0.1032)
OKLCHoklch(52.94% 0.159 139.5)
XYZxyz(9.0086, 16.0889, 3.2467)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8013 #641380
analogous
#668013 #2F8013 #13802E
triadic
#2F8013 #132F80 #80132F
tetradic
#2F8013 #136680 #641380 #802E13
square
#2F8013 #136680 #641380 #802E13
split-complementary
#2F8013 #2E1380 #801366
monochromatic
#0A1B04 #1B4B0B #2F8013 #43B51B #5BE02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8013#FFFFFF#000000##FFFFFF
##2F80131.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)
#7A6D21
Tritanopia (blue-blind)
#247B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8013;
/* rgb */ color: rgb(47, 128, 19);
/* oklch */ color: oklch(52.9% 0.159 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a65c',
    500: '#2f8013',
    950: '#000000',
  },
}
SCSS
$custom: #2f8013;
$custom-light: #73a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8013",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 104.587,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52943,
    "c": 0.15901,
    "h": 139.5
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#2F8013
secondary
#9639B5
accent
#37F1C1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F8013

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

Preview Lab → · Contrast checker → · Palette generator →

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