#2F8B57#2F8B57

#2F8B57 is a mid, moderate green. Relative luminance 0.198; OKLCH L 56.9% C 0.118 H 154.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8B57
RGBrgb(47, 139, 87)
HSLhsl(146, 49%, 36%)
HSVhsv(146, 66%, 55%)
CMYKcmyk(66.2%, 0%, 37.4%, 45.5%)
CIE-LABlab(51.56, -39.51, 20.09)
CIE-LCHlch(51.56, 44.33, 153.05°)
OKLaboklab(56.88% -0.107 0.0504)
OKLCHoklch(56.88% 0.118 154.8)
XYZxyz(12.1242, 19.7564, 12.1894)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B57 #8B2F63
analogous
#358B2F #2F8B57 #2F8B85
triadic
#2F8B57 #572F8B #8B572F
tetradic
#2F8B57 #2F358B #8B2F63 #8B852F
square
#2F8B57 #2F358B #8B2F63 #8B852F
split-complementary
#2F8B57 #852F8B #8B2F35
monochromatic
#10301E #205D3A #2F8B57 #3EB974 #68CC94

Accessibility & contrast

On white

4.24
#2F8B57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F8B57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B57
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B57#FFFFFF#000000##000000
##2F8B571.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8054
Deuteranopia (green-blind)
#7F775A
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8b57;
/* rgb */ color: rgb(47, 139, 87);
/* oklch */ color: oklch(56.9% 0.118 154.8);
Tailwind
colors: {
  custom: {
    50: '#72ae87',
    500: '#2f8b57',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b57;
$custom-light: #72ae87;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b57",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 87
  },
  "hsl": {
    "h": 146.087,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.11828,
    "h": 154.8
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#2F8B57
secondary
#B36390
accent
#4F9DD9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8B57

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

Preview Lab → · Contrast checker → · Palette generator →

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