#2F8852#2F8852

#2F8852 is a mid, moderate green. Relative luminance 0.188; OKLCH L 56.0% C 0.119 H 153.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F8852
RGBrgb(47, 136, 82)
HSLhsl(144, 49%, 36%)
HSVhsv(144, 65%, 53%)
CMYKcmyk(65.4%, 0%, 39.7%, 46.7%)
CIE-LABlab(50.48, -39.25, 21.45)
CIE-LCHlch(50.48, 44.73, 151.35°)
OKLaboklab(55.96% -0.1062 0.0535)
OKLCHoklch(55.96% 0.119 153.3)
XYZxyz(11.4985, 18.8207, 11.0078)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8852 #882F65
analogous
#38882F #2F8852 #2F887E
triadic
#2F8852 #522F88 #88522F
tetradic
#2F8852 #2F3888 #882F65 #887E2F
square
#2F8852 #2F3888 #882F65 #887E2F
split-complementary
#2F8852 #7E2F88 #882F38
monochromatic
#102D1B #1F5B37 #2F8852 #3FB56D #67CA8E

Accessibility & contrast

On white

4.41
#2F8852 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2F8852 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8852
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8852#FFFFFF#000000##000000
##2F88521.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4E
Deuteranopia (green-blind)
#7C7556
Tritanopia (blue-blind)
#06867A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8852;
/* rgb */ color: rgb(47, 136, 82);
/* oklch */ color: oklch(56.0% 0.119 153.3);
Tailwind
colors: {
  custom: {
    50: '#72ab83',
    500: '#2f8852',
    950: '#000000',
  },
}
SCSS
$custom: #2f8852;
$custom-light: #72ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8852",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 82
  },
  "hsl": {
    "h": 143.596,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.11887,
    "h": 153.3
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#2F8852
secondary
#B16192
accent
#50A2D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8852

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

Preview Lab → · Contrast checker → · Palette generator →

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