#2F8A51#2F8A51

#2F8A51 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.123 H 152.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F8A51
RGBrgb(47, 138, 81)
HSLhsl(142, 49%, 36%)
HSVhsv(142, 66%, 54%)
CMYKcmyk(65.9%, 0%, 41.3%, 45.9%)
CIE-LABlab(51.12, -40.28, 22.85)
CIE-LCHlch(51.12, 46.31, 150.43°)
OKLaboklab(56.49% -0.1088 0.0568)
OKLCHoklch(56.49% 0.123 152.4)
XYZxyz(11.7450, 19.3742, 10.9036)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A51 #8A2F68
analogous
#3B8A2F #2F8A51 #2F8A7F
triadic
#2F8A51 #512F8A #8A512F
tetradic
#2F8A51 #2F3B8A #8A2F68 #8A7F2F
square
#2F8A51 #2F3B8A #8A2F68 #8A7F2F
split-complementary
#2F8A51 #7F2F8A #8A2F3B
monochromatic
#102F1B #1F5C36 #2F8A51 #3FB86C #68CC8D

Accessibility & contrast

On white

4.31
#2F8A51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2F8A51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A51
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A51#FFFFFF#000000##000000
##2F8A511.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F4D
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#05887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a51;
/* rgb */ color: rgb(47, 138, 81);
/* oklch */ color: oklch(56.5% 0.123 152.4);
Tailwind
colors: {
  custom: {
    50: '#72ad82',
    500: '#2f8a51',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a51;
$custom-light: #72ad82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a51",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 81
  },
  "hsl": {
    "h": 142.418,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.12276,
    "h": 152.4
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#2F8A51
secondary
#B36295
accent
#4FA5D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8A51

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

Preview Lab → · Contrast checker → · Palette generator →

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