#2F8256#2F8256

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

Color values

HEX#2F8256
RGBrgb(47, 130, 86)
HSLhsl(148, 47%, 35%)
HSVhsv(148, 64%, 51%)
CMYKcmyk(63.8%, 0%, 33.8%, 49%)
CIE-LABlab(48.56, -35.85, 16.61)
CIE-LCHlch(48.56, 39.52, 155.14°)
OKLaboklab(54.41% -0.0975 0.0419)
OKLCHoklch(54.41% 0.106 156.7)
XYZxyz(10.8337, 17.2404, 11.5591)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8256 #822F5B
analogous
#31822F #2F8256 #2F8280
triadic
#2F8256 #562F82 #82562F
tetradic
#2F8256 #2F3182 #822F5B #82802F
square
#2F8256 #2F3182 #822F5B #82802F
split-complementary
#2F8256 #802F82 #822F31
monochromatic
#0E281B #1F5538 #2F8256 #3FAF74 #64C793

Accessibility & contrast

On white

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

On black

4.45
#2F8256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F8256#FFFFFF#000000##FFFFFF
##2F82561.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817853
Deuteranopia (green-blind)
#767059
Tritanopia (blue-blind)
#068176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8256;
/* rgb */ color: rgb(47, 130, 86);
/* oklch */ color: oklch(54.4% 0.106 156.7);
Tailwind
colors: {
  custom: {
    50: '#71a786',
    500: '#2f8256',
    950: '#000000',
  },
}
SCSS
$custom: #2f8256;
$custom-light: #71a786;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8256",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 148.193,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54414,
    "c": 0.10614,
    "h": 156.7
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#2F8256
secondary
#AE5F89
accent
#5198D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F8256

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

Preview Lab → · Contrast checker → · Palette generator →

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