#2F8A54#2F8A54

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

Color values

HEX#2F8A54
RGBrgb(47, 138, 84)
HSLhsl(144, 49%, 36%)
HSVhsv(144, 66%, 54%)
CMYKcmyk(65.9%, 0%, 39.1%, 45.9%)
CIE-LABlab(51.18, -39.69, 21.26)
CIE-LCHlch(51.18, 45.03, 151.83°)
OKLaboklab(56.55% -0.1074 0.0531)
OKLCHoklch(56.55% 0.12 153.7)
XYZxyz(11.8600, 19.4202, 11.5092)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A54 #8A2F65
analogous
#388A2F #2F8A54 #2F8A82
triadic
#2F8A54 #542F8A #8A542F
tetradic
#2F8A54 #2F388A #8A2F65 #8A822F
square
#2F8A54 #2F388A #8A2F65 #8A822F
split-complementary
#2F8A54 #822F8A #8A2F38
monochromatic
#102F1C #1F5C38 #2F8A54 #3FB870 #68CC90

Accessibility & contrast

On white

4.30
#2F8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8A54#FFFFFF#000000##000000
##2F8A541.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#7E7758
Tritanopia (blue-blind)
#01887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f8a54;
/* rgb */ color: rgb(47, 138, 84);
/* oklch */ color: oklch(56.5% 0.120 153.7);
Tailwind
colors: {
  custom: {
    50: '#72ad84',
    500: '#2f8a54',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a54;
$custom-light: #72ad84;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a54",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 144.396,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56547,
    "c": 0.11978,
    "h": 153.7
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#2F8A54
secondary
#B36292
accent
#4FA1D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #2F8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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