#2F8752#2F8752

#2F8752 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.7% C 0.117 H 153.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8752
RGBrgb(47, 135, 82)
HSLhsl(144, 48%, 36%)
HSVhsv(144, 65%, 53%)
CMYKcmyk(65.2%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.15, -38.83, 21.00)
CIE-LCHlch(50.15, 44.15, 151.59°)
OKLaboklab(55.69% -0.1051 0.0524)
OKLCHoklch(55.69% 0.117 153.5)
XYZxyz(11.3583, 18.5403, 10.9611)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8752 #872F64
analogous
#38872F #2F8752 #2F877E
triadic
#2F8752 #522F87 #87522F
tetradic
#2F8752 #2F3887 #872F64 #877E2F
square
#2F8752 #2F3887 #872F64 #877E2F
split-complementary
#2F8752 #7E2F87 #872F38
monochromatic
#0F2C1B #1F5A36 #2F8752 #3FB46E #66CA8E

Accessibility & contrast

On white

4.46
#2F8752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F8752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8752
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8752#FFFFFF#000000##000000
##2F87521.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#7B7455
Tritanopia (blue-blind)
#07857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8752;
/* rgb */ color: rgb(47, 135, 82);
/* oklch */ color: oklch(55.7% 0.117 153.5);
Tailwind
colors: {
  custom: {
    50: '#72ab83',
    500: '#2f8752',
    950: '#000000',
  },
}
SCSS
$custom: #2f8752;
$custom-light: #72ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8752",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 143.864,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.11742,
    "h": 153.5
  },
  "luminance": 0.18541
}

Semantic roles & 50–950 ramp

primary
#2F8752
secondary
#B16191
accent
#50A2D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F8752

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

Preview Lab → · Contrast checker → · Palette generator →

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