#2F8457#2F8457

#2F8457 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.0% C 0.108 H 156.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8457
RGBrgb(47, 132, 87)
HSLhsl(148, 47%, 35%)
HSVhsv(148, 64%, 52%)
CMYKcmyk(64.4%, 0%, 34.1%, 48.2%)
CIE-LABlab(49.25, -36.52, 16.97)
CIE-LCHlch(49.25, 40.27, 155.07°)
OKLaboklab(54.98% -0.0993 0.0428)
OKLCHoklch(54.98% 0.108 156.7)
XYZxyz(11.1429, 17.7939, 11.8623)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8457 #842F5C
analogous
#32842F #2F8457 #2F8481
triadic
#2F8457 #572F84 #84572F
tetradic
#2F8457 #2F3284 #842F5C #84812F
square
#2F8457 #2F3284 #842F5C #84812F
split-complementary
#2F8457 #812F84 #842F32
monochromatic
#0F2A1C #1F5739 #2F8457 #3FB175 #65C894

Accessibility & contrast

On white

4.61
#2F8457 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2F8457 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8457
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8457#FFFFFF#000000##FFFFFF
##2F84571.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837A54
Deuteranopia (green-blind)
#78725A
Tritanopia (blue-blind)
#038378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8457;
/* rgb */ color: rgb(47, 132, 87);
/* oklch */ color: oklch(55.0% 0.108 156.7);
Tailwind
colors: {
  custom: {
    50: '#71a886',
    500: '#2f8457',
    950: '#000000',
  },
}
SCSS
$custom: #2f8457;
$custom-light: #71a886;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8457",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 87
  },
  "hsl": {
    "h": 148.235,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.1081,
    "h": 156.7
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

primary
#2F8457
secondary
#AF608A
accent
#5198D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #2F8457

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

Preview Lab → · Contrast checker → · Palette generator →

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