#2F8452#2F8452

#2F8452 is a mid, moderate green. Relative luminance 0.177; OKLCH L 54.9% C 0.113 H 154.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F8452
RGBrgb(47, 132, 82)
HSLhsl(145, 47%, 35%)
HSVhsv(145, 64%, 52%)
CMYKcmyk(64.4%, 0%, 37.9%, 48.2%)
CIE-LABlab(49.15, -37.55, 19.68)
CIE-LCHlch(49.15, 42.40, 152.35°)
OKLaboklab(54.87% -0.1017 0.0493)
OKLCHoklch(54.87% 0.113 154.2)
XYZxyz(10.9456, 17.7150, 10.8235)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8452 #842F61
analogous
#36842F #2F8452 #2F847D
triadic
#2F8452 #522F84 #84522F
tetradic
#2F8452 #2F3684 #842F61 #847D2F
square
#2F8452 #2F3684 #842F61 #847D2F
split-complementary
#2F8452 #7D2F84 #842F36
monochromatic
#0F2A1A #1F5736 #2F8452 #3FB16E #65C88E

Accessibility & contrast

On white

4.62
#2F8452 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2F8452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8452
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8452#FFFFFF#000000##FFFFFF
##2F84521.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A4F
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#0A8277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8452;
/* rgb */ color: rgb(47, 132, 82);
/* oklch */ color: oklch(54.9% 0.113 154.2);
Tailwind
colors: {
  custom: {
    50: '#71a883',
    500: '#2f8452',
    950: '#000000',
  },
}
SCSS
$custom: #2f8452;
$custom-light: #71a883;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8452",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 82
  },
  "hsl": {
    "h": 144.706,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.11304,
    "h": 154.2
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#2F8452
secondary
#AF608E
accent
#51A0D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F8452

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

Preview Lab → · Contrast checker → · Palette generator →

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