#2F8255#2F8255

#2F8255 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.4% C 0.107 H 156.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F8255
RGBrgb(47, 130, 85)
HSLhsl(147, 47%, 35%)
HSVhsv(147, 64%, 51%)
CMYKcmyk(63.8%, 0%, 34.6%, 49%)
CIE-LABlab(48.54, -36.07, 17.16)
CIE-LCHlch(48.54, 39.94, 154.56°)
OKLaboklab(54.39% -0.098 0.0432)
OKLCHoklch(54.39% 0.107 156.2)
XYZxyz(10.7937, 17.2244, 11.3484)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8255 #822F5C
analogous
#32822F #2F8255 #2F827F
triadic
#2F8255 #552F82 #82552F
tetradic
#2F8255 #2F3282 #822F5C #827F2F
square
#2F8255 #2F3282 #822F5C #827F2F
split-complementary
#2F8255 #7F2F82 #822F32
monochromatic
#0E281A #1F5538 #2F8255 #3FAF72 #64C792

Accessibility & contrast

On white

4.72
#2F8255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F8255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8255
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8255#FFFFFF#000000##FFFFFF
##2F82551.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817852
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#088176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8255;
/* rgb */ color: rgb(47, 130, 85);
/* oklch */ color: oklch(54.4% 0.107 156.2);
Tailwind
colors: {
  custom: {
    50: '#71a785',
    500: '#2f8255',
    950: '#000000',
  },
}
SCSS
$custom: #2f8255;
$custom-light: #71a785;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8255",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 147.47,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.10712,
    "h": 156.2
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#2F8255
secondary
#AE5F8A
accent
#519AD7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F8255

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

Preview Lab → · Contrast checker → · Palette generator →

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