#2F8331#2F8331

#2F8331 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.143 H 143.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F8331
RGBrgb(47, 131, 49)
HSLhsl(121, 47%, 35%)
HSVhsv(121, 64%, 51%)
CMYKcmyk(64.1%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.33, -42.50, 36.19)
CIE-LCHlch(48.33, 55.82, 139.58°)
OKLaboklab(54.04% -0.1153 0.0849)
OKLCHoklch(54.04% 0.143 143.6)
XYZxyz(9.8424, 17.0577, 5.6789)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8331 #832F81
analogous
#57832F #2F8331 #2F835B
triadic
#2F8331 #312F83 #83312F
tetradic
#2F8331 #2F5783 #832F81 #835B2F
square
#2F8331 #2F5783 #832F81 #835B2F
split-complementary
#2F8331 #5B2F83 #832F57
monochromatic
#0F290F #1F5620 #2F8331 #3FB042 #65C867

Accessibility & contrast

On white

4.76
#2F8331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2F8331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8331
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8331#FFFFFF#000000##FFFFFF
##2F83311.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#1E7F71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8331;
/* rgb */ color: rgb(47, 131, 49);
/* oklch */ color: oklch(54.0% 0.143 143.6);
Tailwind
colors: {
  custom: {
    50: '#72a86c',
    500: '#2f8331',
    950: '#000000',
  },
}
SCSS
$custom: #2f8331;
$custom-light: #72a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8331",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 121.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.14323,
    "h": 143.6
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8331

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

Preview Lab → · Contrast checker → · Palette generator →

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