#2F8352#2F8352

#2F8352 is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.6% C 0.112 H 154.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F8352
RGBrgb(47, 131, 82)
HSLhsl(145, 47%, 35%)
HSVhsv(145, 64%, 51%)
CMYKcmyk(64.1%, 0%, 37.4%, 48.6%)
CIE-LABlab(48.82, -37.12, 19.23)
CIE-LCHlch(48.82, 41.81, 152.61°)
OKLaboklab(54.6% -0.1006 0.0482)
OKLCHoklch(54.6% 0.112 154.4)
XYZxyz(10.8107, 17.4450, 10.7785)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8352 #832F60
analogous
#36832F #2F8352 #2F837C
triadic
#2F8352 #522F83 #83522F
tetradic
#2F8352 #2F3683 #832F60 #837C2F
square
#2F8352 #2F3683 #832F60 #837C2F
split-complementary
#2F8352 #7C2F83 #832F36
monochromatic
#0F291A #1F5636 #2F8352 #3FB06E #65C88E

Accessibility & contrast

On white

4.68
#2F8352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2F8352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8352
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8352#FFFFFF#000000##FFFFFF
##2F83521.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83794F
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#0A8276
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8352;
/* rgb */ color: rgb(47, 131, 82);
/* oklch */ color: oklch(54.6% 0.112 154.4);
Tailwind
colors: {
  custom: {
    50: '#71a883',
    500: '#2f8352',
    950: '#000000',
  },
}
SCSS
$custom: #2f8352;
$custom-light: #71a883;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8352",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 82
  },
  "hsl": {
    "h": 145,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.11157,
    "h": 154.4
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#2F8352
secondary
#AF5F8E
accent
#519FD7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F8352

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

Preview Lab → · Contrast checker → · Palette generator →

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