#2F8A52#2F8A52

#2F8A52 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.122 H 152.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F8A52
RGBrgb(47, 138, 82)
HSLhsl(143, 49%, 36%)
HSVhsv(143, 66%, 54%)
CMYKcmyk(65.9%, 0%, 40.6%, 45.9%)
CIE-LABlab(51.14, -40.08, 22.32)
CIE-LCHlch(51.14, 45.88, 150.89°)
OKLaboklab(56.51% -0.1083 0.0556)
OKLCHoklch(56.51% 0.122 152.9)
XYZxyz(11.7828, 19.3893, 11.1026)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A52 #8A2F67
analogous
#3A8A2F #2F8A52 #2F8A80
triadic
#2F8A52 #522F8A #8A522F
tetradic
#2F8A52 #2F3A8A #8A2F67 #8A802F
square
#2F8A52 #2F3A8A #8A2F67 #8A802F
split-complementary
#2F8A52 #802F8A #8A2F3A
monochromatic
#102F1C #1F5C37 #2F8A52 #3FB86D #68CC8E

Accessibility & contrast

On white

4.31
#2F8A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2F8A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A52
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A52#FFFFFF#000000##000000
##2F8A521.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4E
Deuteranopia (green-blind)
#7E7756
Tritanopia (blue-blind)
#04887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a52;
/* rgb */ color: rgb(47, 138, 82);
/* oklch */ color: oklch(56.5% 0.122 152.9);
Tailwind
colors: {
  custom: {
    50: '#72ad83',
    500: '#2f8a52',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a52;
$custom-light: #72ad83;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a52",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 143.077,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56506,
    "c": 0.12176,
    "h": 152.9
  },
  "luminance": 0.1939
}

Semantic roles & 50–950 ramp

primary
#2F8A52
secondary
#B36294
accent
#4FA4D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8A52

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

Preview Lab → · Contrast checker → · Palette generator →

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