#2F8750#2F8750

#2F8750 is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.6% C 0.119 H 152.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F8750
RGBrgb(47, 135, 80)
HSLhsl(143, 48%, 36%)
HSVhsv(143, 65%, 53%)
CMYKcmyk(65.2%, 0%, 40.7%, 47.1%)
CIE-LABlab(50.11, -39.22, 22.07)
CIE-LCHlch(50.11, 45.00, 150.63°)
OKLaboklab(55.65% -0.106 0.0549)
OKLCHoklch(55.65% 0.119 152.6)
XYZxyz(11.2833, 18.5103, 10.5661)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8750 #872F66
analogous
#3A872F #2F8750 #2F877C
triadic
#2F8750 #502F87 #87502F
tetradic
#2F8750 #2F3A87 #872F66 #877C2F
square
#2F8750 #2F3A87 #872F66 #877C2F
split-complementary
#2F8750 #7C2F87 #872F3A
monochromatic
#0F2C1A #1F5A35 #2F8750 #3FB46B #66CA8C

Accessibility & contrast

On white

4.47
#2F8750 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2F8750 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8750
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8750#FFFFFF#000000##000000
##2F87501.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4C
Deuteranopia (green-blind)
#7C7454
Tritanopia (blue-blind)
#098579
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8750;
/* rgb */ color: rgb(47, 135, 80);
/* oklch */ color: oklch(55.6% 0.119 152.6);
Tailwind
colors: {
  custom: {
    50: '#72ab81',
    500: '#2f8750',
    950: '#000000',
  },
}
SCSS
$custom: #2f8750;
$custom-light: #72ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8750",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 80
  },
  "hsl": {
    "h": 142.5,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.11941,
    "h": 152.6
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#2F8750
secondary
#B16193
accent
#50A5D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F8750

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

Preview Lab → · Contrast checker → · Palette generator →

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