#2F8155#2F8155

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

Color values

HEX#2F8155
RGBrgb(47, 129, 85)
HSLhsl(148, 47%, 35%)
HSVhsv(148, 64%, 51%)
CMYKcmyk(63.6%, 0%, 34.1%, 49.4%)
CIE-LABlab(48.21, -35.63, 16.71)
CIE-LCHlch(48.21, 39.35, 154.88°)
OKLaboklab(54.12% -0.0969 0.0422)
OKLCHoklch(54.12% 0.106 156.5)
XYZxyz(10.6613, 16.9597, 11.3043)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8155 #812F5B
analogous
#32812F #2F8155 #2F817E
triadic
#2F8155 #552F81 #81552F
tetradic
#2F8155 #2F3281 #812F5B #817E2F
square
#2F8155 #2F3281 #812F5B #817E2F
split-complementary
#2F8155 #7E2F81 #812F32
monochromatic
#0E271A #1F5437 #2F8155 #3FAE73 #64C692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8155#FFFFFF#000000##FFFFFF
##2F81551.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)
#807752
Deuteranopia (green-blind)
#756F58
Tritanopia (blue-blind)
#098075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8155;
/* rgb */ color: rgb(47, 129, 85);
/* oklch */ color: oklch(54.1% 0.106 156.5);
Tailwind
colors: {
  custom: {
    50: '#71a685',
    500: '#2f8155',
    950: '#000000',
  },
}
SCSS
$custom: #2f8155;
$custom-light: #71a685;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8155",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 85
  },
  "hsl": {
    "h": 147.805,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54118,
    "c": 0.10564,
    "h": 156.5
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#2F8155
secondary
#AD5E89
accent
#5299D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F8155

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

Preview Lab → · Contrast checker → · Palette generator →

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