#2F8A5B#2F8A5B

#2F8A5B is a mid, moderate green. Relative luminance 0.195; OKLCH L 56.7% C 0.113 H 157.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F8A5B
RGBrgb(47, 138, 91)
HSLhsl(149, 49%, 36%)
HSVhsv(149, 66%, 54%)
CMYKcmyk(65.9%, 0%, 34.1%, 45.9%)
CIE-LABlab(51.31, -38.26, 17.50)
CIE-LCHlch(51.31, 42.07, 155.42°)
OKLaboklab(56.7% -0.104 0.0442)
OKLCHoklch(56.7% 0.113 157)
XYZxyz(12.1480, 19.5354, 13.0260)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A5B #8A2F5E
analogous
#318A2F #2F8A5B #2F8A89
triadic
#2F8A5B #5B2F8A #8A5B2F
tetradic
#2F8A5B #2F318A #8A2F5E #8A892F
square
#2F8A5B #2F318A #8A2F5E #8A892F
split-complementary
#2F8A5B #892F8A #8A2F31
monochromatic
#102F1F #1F5C3D #2F8A5B #3FB879 #68CC98

Accessibility & contrast

On white

4.28
#2F8A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#2F8A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A5B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A5B#FFFFFF#000000##000000
##2F8A5B1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F58
Deuteranopia (green-blind)
#7D775E
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a5b;
/* rgb */ color: rgb(47, 138, 91);
/* oklch */ color: oklch(56.7% 0.113 157.0);
Tailwind
colors: {
  custom: {
    50: '#72ad89',
    500: '#2f8a5b',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a5b;
$custom-light: #72ad89;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a5b",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 149.011,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.567,
    "c": 0.11295,
    "h": 157
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#2F8A5B
secondary
#B3628C
accent
#4F96D9
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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