#2F8254#2F8254

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

Color values

HEX#2F8254
RGBrgb(47, 130, 84)
HSLhsl(147, 47%, 35%)
HSVhsv(147, 64%, 51%)
CMYKcmyk(63.8%, 0%, 35.4%, 49%)
CIE-LABlab(48.52, -36.28, 17.70)
CIE-LCHlch(48.52, 40.37, 153.99°)
OKLaboklab(54.37% -0.0985 0.0446)
OKLCHoklch(54.37% 0.108 155.7)
XYZxyz(10.7542, 17.2086, 11.1406)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8254 #822F5D
analogous
#33822F #2F8254 #2F827E
triadic
#2F8254 #542F82 #82542F
tetradic
#2F8254 #2F3382 #822F5D #827E2F
square
#2F8254 #2F3382 #822F5D #827E2F
split-complementary
#2F8254 #7E2F82 #822F33
monochromatic
#0E281A #1F5537 #2F8254 #3FAF71 #64C790

Accessibility & contrast

On white

4.73
#2F8254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F8254
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8254#FFFFFF#000000##FFFFFF
##2F82541.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817851
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#098176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8254;
/* rgb */ color: rgb(47, 130, 84);
/* oklch */ color: oklch(54.4% 0.108 155.7);
Tailwind
colors: {
  custom: {
    50: '#71a784',
    500: '#2f8254',
    950: '#000000',
  },
}
SCSS
$custom: #2f8254;
$custom-light: #71a784;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8254",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 84
  },
  "hsl": {
    "h": 146.747,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.1081,
    "h": 155.7
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#2F8254
secondary
#AE5F8B
accent
#519BD7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #2F8254

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

Preview Lab → · Contrast checker → · Palette generator →

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