#2F8011#2F8011

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

Color values

HEX#2F8011
RGBrgb(47, 128, 17)
HSLhsl(104, 77%, 28%)
HSVhsv(104, 87%, 50%)
CMYKcmyk(63.3%, 0%, 86.7%, 49.8%)
CIE-LABlab(47.08, -44.08, 47.30)
CIE-LCHlch(47.08, 64.65, 132.98°)
OKLaboklab(52.93% -0.1214 0.104)
OKLCHoklch(52.93% 0.16 139.4)
XYZxyz(8.9922, 16.0823, 3.1605)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8011 #621180
analogous
#668011 #2F8011 #11802A
triadic
#2F8011 #112F80 #80112F
tetradic
#2F8011 #116680 #621180 #802A11
square
#2F8011 #116680 #621180 #802A11
split-complementary
#2F8011 #2A1180 #801166
monochromatic
#0A1B04 #1B4A0A #2F8011 #43B618 #5BE329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8011#FFFFFF#000000##FFFFFF
##2F80111.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)
#7A6D20
Tritanopia (blue-blind)
#257B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8011;
/* rgb */ color: rgb(47, 128, 17);
/* oklch */ color: oklch(52.9% 0.160 139.4);
Tailwind
colors: {
  custom: {
    50: '#73a65b',
    500: '#2f8011',
    950: '#000000',
  },
}
SCSS
$custom: #2f8011;
$custom-light: #73a65b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8011",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 103.784,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.15984,
    "h": 139.4
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#2F8011
secondary
#9437B6
accent
#35F3C0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F8011

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

Preview Lab → · Contrast checker → · Palette generator →

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