#2F8152#2F8152

#2F8152 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.0% C 0.109 H 154.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8152
RGBrgb(47, 129, 82)
HSLhsl(146, 47%, 35%)
HSVhsv(146, 64%, 51%)
CMYKcmyk(63.6%, 0%, 36.4%, 49.4%)
CIE-LABlab(48.15, -36.26, 18.34)
CIE-LCHlch(48.15, 40.63, 153.17°)
OKLaboklab(54.05% -0.0984 0.0461)
OKLCHoklch(54.05% 0.109 154.9)
XYZxyz(10.5446, 16.9130, 10.6898)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8152 #812F5E
analogous
#35812F #2F8152 #2F817B
triadic
#2F8152 #522F81 #81522F
tetradic
#2F8152 #2F3581 #812F5E #817B2F
square
#2F8152 #2F3581 #812F5E #817B2F
split-complementary
#2F8152 #7B2F81 #812F35
monochromatic
#0E2719 #1F5435 #2F8152 #3FAE6F #64C68E

Accessibility & contrast

On white

4.79
#2F8152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F8152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8152
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8152#FFFFFF#000000##FFFFFF
##2F81521.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774F
Deuteranopia (green-blind)
#766F55
Tritanopia (blue-blind)
#0C8075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8152;
/* rgb */ color: rgb(47, 129, 82);
/* oklch */ color: oklch(54.0% 0.109 154.9);
Tailwind
colors: {
  custom: {
    50: '#71a683',
    500: '#2f8152',
    950: '#000000',
  },
}
SCSS
$custom: #2f8152;
$custom-light: #71a683;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8152",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 145.61,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5405,
    "c": 0.10861,
    "h": 154.9
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#2F8152
secondary
#AD5E8C
accent
#529ED6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F8152

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

Preview Lab → · Contrast checker → · Palette generator →

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