#2F8751#2F8751

#2F8751 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.7% C 0.118 H 153.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8751
RGBrgb(47, 135, 81)
HSLhsl(143, 48%, 36%)
HSVhsv(143, 65%, 53%)
CMYKcmyk(65.2%, 0%, 40%, 47.1%)
CIE-LABlab(50.13, -39.02, 21.54)
CIE-LCHlch(50.13, 44.57, 151.10°)
OKLaboklab(55.67% -0.1055 0.0537)
OKLCHoklch(55.67% 0.118 153)
XYZxyz(11.3205, 18.5252, 10.7621)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8751 #872F65
analogous
#39872F #2F8751 #2F877D
triadic
#2F8751 #512F87 #87512F
tetradic
#2F8751 #2F3987 #872F65 #877D2F
square
#2F8751 #2F3987 #872F65 #877D2F
split-complementary
#2F8751 #7D2F87 #872F39
monochromatic
#0F2C1B #1F5A36 #2F8751 #3FB46C #66CA8D

Accessibility & contrast

On white

4.46
#2F8751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F8751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8751
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8751#FFFFFF#000000##000000
##2F87511.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4D
Deuteranopia (green-blind)
#7C7455
Tritanopia (blue-blind)
#088579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8751;
/* rgb */ color: rgb(47, 135, 81);
/* oklch */ color: oklch(55.7% 0.118 153.0);
Tailwind
colors: {
  custom: {
    50: '#72ab82',
    500: '#2f8751',
    950: '#000000',
  },
}
SCSS
$custom: #2f8751;
$custom-light: #72ab82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8751",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 143.182,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.11841,
    "h": 153
  },
  "luminance": 0.18526
}

Semantic roles & 50–950 ramp

primary
#2F8751
secondary
#B16192
accent
#50A3D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F8751

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

Preview Lab → · Contrast checker → · Palette generator →

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