#2F8057#2F8057

#2F8057 is a mid, moderate green. Relative luminance 0.167; OKLCH L 53.9% C 0.102 H 157.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F8057
RGBrgb(47, 128, 87)
HSLhsl(150, 46%, 34%)
HSVhsv(150, 63%, 50%)
CMYKcmyk(63.3%, 0%, 32%, 49.8%)
CIE-LABlab(47.92, -34.75, 15.16)
CIE-LCHlch(47.92, 37.92, 156.43°)
OKLaboklab(53.89% -0.0947 0.0384)
OKLCHoklch(53.89% 0.102 157.9)
XYZxyz(10.6108, 16.7297, 11.6850)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8057 #802F58
analogous
#2F802F #2F8057 #2F8080
triadic
#2F8057 #572F80 #80572F
tetradic
#2F8057 #2F2F80 #802F58 #80802F
square
#2F8057 #2F2F80 #802F58 #80802F
split-complementary
#2F8057 #802F80 #802F2F
monochromatic
#0E261A #1F5339 #2F8057 #3FAD75 #63C694

Accessibility & contrast

On white

4.83
#2F8057 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F8057 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8057
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8057#FFFFFF#000000##FFFFFF
##2F80571.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7655
Deuteranopia (green-blind)
#746F5A
Tritanopia (blue-blind)
#077F75
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8057;
/* rgb */ color: rgb(47, 128, 87);
/* oklch */ color: oklch(53.9% 0.102 157.9);
Tailwind
colors: {
  custom: {
    50: '#70a586',
    500: '#2f8057',
    950: '#000000',
  },
}
SCSS
$custom: #2f8057;
$custom-light: #70a586;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8057",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 87
  },
  "hsl": {
    "h": 149.63,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.10222,
    "h": 157.9
  },
  "luminance": 0.16731
}

Semantic roles & 50–950 ramp

primary
#2F8057
secondary
#AD5E86
accent
#5295D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F8057

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

Preview Lab → · Contrast checker → · Palette generator →

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