#2F811A#2F811A

#2F811A is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.157 H 140.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F811A
RGBrgb(47, 129, 26)
HSLhsl(108, 66%, 30%)
HSVhsv(108, 80%, 51%)
CMYKcmyk(63.6%, 0%, 79.8%, 49.4%)
CIE-LABlab(47.47, -43.92, 44.92)
CIE-LCHlch(47.47, 62.83, 134.36°)
OKLaboklab(53.27% -0.1205 0.1004)
OKLCHoklch(53.27% 0.157 140.2)
XYZxyz(9.2086, 16.3786, 3.6532)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F811A #6C1A81
analogous
#62811A #2F811A #1A8138
triadic
#2F811A #1A2F81 #811A2F
tetradic
#2F811A #1A6281 #6C1A81 #81381A
square
#2F811A #1A6281 #6C1A81 #81381A
split-complementary
#2F811A #381A81 #811A62
monochromatic
#0A1B05 #1C4E10 #2F811A #42B424 #5DD83D

Accessibility & contrast

On white

4.91
#2F811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F811A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F811A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F811A#FFFFFF#000000##FFFFFF
##2F811A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857501
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#237D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f811a;
/* rgb */ color: rgb(47, 129, 26);
/* oklch */ color: oklch(53.3% 0.157 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a65f',
    500: '#2f811a',
    950: '#000000',
  },
}
SCSS
$custom: #2f811a;
$custom-light: #73a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f811a",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 107.767,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53266,
    "c": 0.15682,
    "h": 140.2
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#2F811A
secondary
#9D42B5
accent
#3EE9C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F811A

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

Preview Lab → · Contrast checker → · Palette generator →

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