#2F8154#2F8154

#2F8154 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.1% C 0.107 H 155.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8154
RGBrgb(47, 129, 84)
HSLhsl(147, 47%, 35%)
HSVhsv(147, 64%, 51%)
CMYKcmyk(63.6%, 0%, 34.9%, 49.4%)
CIE-LABlab(48.19, -35.84, 17.25)
CIE-LCHlch(48.19, 39.78, 154.30°)
OKLaboklab(54.1% -0.0974 0.0435)
OKLCHoklch(54.1% 0.107 155.9)
XYZxyz(10.6219, 16.9439, 11.0965)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8154 #812F5C
analogous
#33812F #2F8154 #2F817D
triadic
#2F8154 #542F81 #81542F
tetradic
#2F8154 #2F3381 #812F5C #817D2F
square
#2F8154 #2F3381 #812F5C #817D2F
split-complementary
#2F8154 #7D2F81 #812F33
monochromatic
#0E271A #1F5437 #2F8154 #3FAE71 #64C690

Accessibility & contrast

On white

4.78
#2F8154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2F8154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8154
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8154#FFFFFF#000000##FFFFFF
##2F81541.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807751
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#0A8075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8154;
/* rgb */ color: rgb(47, 129, 84);
/* oklch */ color: oklch(54.1% 0.107 155.9);
Tailwind
colors: {
  custom: {
    50: '#71a684',
    500: '#2f8154',
    950: '#000000',
  },
}
SCSS
$custom: #2f8154;
$custom-light: #71a684;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8154",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 84
  },
  "hsl": {
    "h": 147.073,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.10662,
    "h": 155.9
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#2F8154
secondary
#AD5E8A
accent
#529AD6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F8154

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

Preview Lab → · Contrast checker → · Palette generator →

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