#2F8431#2F8431

#2F8431 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.145 H 143.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F8431
RGBrgb(47, 132, 49)
HSLhsl(121, 47%, 35%)
HSVhsv(121, 64%, 52%)
CMYKcmyk(64.4%, 0%, 62.9%, 48.2%)
CIE-LABlab(48.67, -42.89, 36.58)
CIE-LCHlch(48.67, 56.37, 139.54°)
OKLaboklab(54.32% -0.1164 0.0858)
OKLCHoklch(54.32% 0.145 143.6)
XYZxyz(9.9773, 17.3276, 5.7239)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8431 #842F82
analogous
#57842F #2F8431 #2F845C
triadic
#2F8431 #312F84 #84312F
tetradic
#2F8431 #2F5784 #842F82 #845C2F
square
#2F8431 #2F5784 #842F82 #845C2F
split-complementary
#2F8431 #5C2F84 #842F57
monochromatic
#0F2A0F #1F5720 #2F8431 #3FB142 #65C868

Accessibility & contrast

On white

4.70
#2F8431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F8431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8431
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8431#FFFFFF#000000##FFFFFF
##2F84311.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877828
Deuteranopia (green-blind)
#7C7138
Tritanopia (blue-blind)
#1D8072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8431;
/* rgb */ color: rgb(47, 132, 49);
/* oklch */ color: oklch(54.3% 0.145 143.6);
Tailwind
colors: {
  custom: {
    50: '#72a96c',
    500: '#2f8431',
    950: '#000000',
  },
}
SCSS
$custom: #2f8431;
$custom-light: #72a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8431",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 121.412,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.14457,
    "h": 143.6
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#2F8431
secondary
#AF60AD
accent
#51D4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8431

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

Preview Lab → · Contrast checker → · Palette generator →

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