#2F8A56#2F8A56

#2F8A56 is a mid, moderate green. Relative luminance 0.195; OKLCH L 56.6% C 0.118 H 154.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F8A56
RGBrgb(47, 138, 86)
HSLhsl(146, 49%, 36%)
HSVhsv(146, 66%, 54%)
CMYKcmyk(65.9%, 0%, 37.7%, 45.9%)
CIE-LABlab(51.21, -39.30, 20.19)
CIE-LCHlch(51.21, 44.18, 152.81°)
OKLaboklab(56.59% -0.1064 0.0506)
OKLCHoklch(56.59% 0.118 154.6)
XYZxyz(11.9395, 19.4519, 11.9277)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A56 #8A2F63
analogous
#368A2F #2F8A56 #2F8A84
triadic
#2F8A56 #562F8A #8A562F
tetradic
#2F8A56 #2F368A #8A2F63 #8A842F
square
#2F8A56 #2F368A #8A2F63 #8A842F
split-complementary
#2F8A56 #842F8A #8A2F36
monochromatic
#102F1D #1F5C3A #2F8A56 #3FB872 #68CC93

Accessibility & contrast

On white

4.29
#2F8A56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2F8A56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A56
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A56#FFFFFF#000000##000000
##2F8A561.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F53
Deuteranopia (green-blind)
#7E7759
Tritanopia (blue-blind)
#00887D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a56;
/* rgb */ color: rgb(47, 138, 86);
/* oklch */ color: oklch(56.6% 0.118 154.6);
Tailwind
colors: {
  custom: {
    50: '#72ad86',
    500: '#2f8a56',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a56;
$custom-light: #72ad86;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a56",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 86
  },
  "hsl": {
    "h": 145.714,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56589,
    "c": 0.11782,
    "h": 154.6
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

primary
#2F8A56
secondary
#B36290
accent
#4F9ED9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8A56

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

Preview Lab → · Contrast checker → · Palette generator →

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