#2F8952#2F8952

#2F8952 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.120 H 153.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F8952
RGBrgb(47, 137, 82)
HSLhsl(143, 49%, 36%)
HSVhsv(143, 66%, 54%)
CMYKcmyk(65.7%, 0%, 40.1%, 46.3%)
CIE-LABlab(50.81, -39.67, 21.88)
CIE-LCHlch(50.81, 45.30, 151.12°)
OKLaboklab(56.23% -0.1073 0.0545)
OKLCHoklch(56.23% 0.12 153.1)
XYZxyz(11.6400, 19.1037, 11.0550)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8952 #892F66
analogous
#39892F #2F8952 #2F897F
triadic
#2F8952 #522F89 #89522F
tetradic
#2F8952 #2F3989 #892F66 #897F2F
square
#2F8952 #2F3989 #892F66 #897F2F
split-complementary
#2F8952 #7F2F89 #892F39
monochromatic
#102E1B #1F5B37 #2F8952 #3FB76D #67CB8E

Accessibility & contrast

On white

4.36
#2F8952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2F8952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8952
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8952#FFFFFF#000000##000000
##2F89521.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#7D7656
Tritanopia (blue-blind)
#05877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8952;
/* rgb */ color: rgb(47, 137, 82);
/* oklch */ color: oklch(56.2% 0.120 153.1);
Tailwind
colors: {
  custom: {
    50: '#72ac83',
    500: '#2f8952',
    950: '#000000',
  },
}
SCSS
$custom: #2f8952;
$custom-light: #72ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8952",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 143.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.12033,
    "h": 153.1
  },
  "luminance": 0.19105
}

Semantic roles & 50–950 ramp

primary
#2F8952
secondary
#B26293
accent
#4FA3D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8952

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

Preview Lab → · Contrast checker → · Palette generator →

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