#2F812E#2F812E

#2F812E is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.143 H 143.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F812E
RGBrgb(47, 129, 46)
HSLhsl(119, 47%, 34%)
HSVhsv(119, 64%, 51%)
CMYKcmyk(63.6%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.63, -42.08, 36.82)
CIE-LCHlch(47.63, 55.92, 138.81°)
OKLaboklab(53.45% -0.1144 0.086)
OKLCHoklch(53.45% 0.143 143.1)
XYZxyz(9.5152, 16.5012, 5.2679)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F812E #802E81
analogous
#59812E #2F812E #2E8157
triadic
#2F812E #2E2F81 #812E2F
tetradic
#2F812E #2E5981 #802E81 #81572E
square
#2F812E #2E5981 #802E81 #81572E
split-complementary
#2F812E #572E81 #812E59
monochromatic
#0E270E #1F541E #2F812E #3FAE3E #63C762

Accessibility & contrast

On white

4.88
#2F812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2F812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F812E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F812E#FFFFFF#000000##FFFFFF
##2F812E1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#7A6E35
Tritanopia (blue-blind)
#1F7D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f812e;
/* rgb */ color: rgb(47, 129, 46);
/* oklch */ color: oklch(53.4% 0.143 143.1);
Tailwind
colors: {
  custom: {
    50: '#72a66a',
    500: '#2f812e',
    950: '#000000',
  },
}
SCSS
$custom: #2f812e;
$custom-light: #72a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f812e",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 119.277,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53447,
    "c": 0.14307,
    "h": 143.1
  },
  "luminance": 0.16502
}

Semantic roles & 50–950 ramp

primary
#2F812E
secondary
#AD5DAE
accent
#51D7D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #2F812E

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

Preview Lab → · Contrast checker → · Palette generator →

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