#2F8758#2F8758

#2F8758 is a mid, moderate green. Relative luminance 0.186; OKLCH L 55.8% C 0.112 H 156.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8758
RGBrgb(47, 135, 88)
HSLhsl(148, 48%, 36%)
HSVhsv(148, 65%, 53%)
CMYKcmyk(65.2%, 0%, 34.8%, 47.1%)
CIE-LABlab(50.26, -37.61, 17.78)
CIE-LCHlch(50.26, 41.59, 154.70°)
OKLaboklab(55.82% -0.1021 0.0448)
OKLCHoklch(55.82% 0.112 156.3)
XYZxyz(11.5967, 18.6357, 12.2165)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8758 #872F5E
analogous
#32872F #2F8758 #2F8784
triadic
#2F8758 #582F87 #87582F
tetradic
#2F8758 #2F3287 #872F5E #87842F
square
#2F8758 #2F3287 #872F5E #87842F
split-complementary
#2F8758 #842F87 #872F32
monochromatic
#0F2C1D #1F5A3A #2F8758 #3FB476 #66CA95

Accessibility & contrast

On white

4.44
#2F8758 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F8758 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8758
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8758#FFFFFF#000000##000000
##2F87581.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D55
Deuteranopia (green-blind)
#7B745B
Tritanopia (blue-blind)
#00867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8758;
/* rgb */ color: rgb(47, 135, 88);
/* oklch */ color: oklch(55.8% 0.112 156.3);
Tailwind
colors: {
  custom: {
    50: '#72ab87',
    500: '#2f8758',
    950: '#000000',
  },
}
SCSS
$custom: #2f8758;
$custom-light: #72ab87;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8758",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 88
  },
  "hsl": {
    "h": 147.955,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.11151,
    "h": 156.3
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#2F8758
secondary
#B1618C
accent
#5099D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2F8758

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

Preview Lab → · Contrast checker → · Palette generator →

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