#2F7B4A#2F7B4A

#2F7B4A is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.108 H 152.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2F7B4A
RGBrgb(47, 123, 74)
HSLhsl(141, 45%, 33%)
HSVhsv(141, 62%, 48%)
CMYKcmyk(61.8%, 0%, 39.8%, 51.8%)
CIE-LABlab(45.99, -35.25, 20.01)
CIE-LCHlch(45.99, 40.53, 150.41°)
OKLaboklab(52.23% -0.0954 0.0499)
OKLCHoklch(52.23% 0.108 152.4)
XYZxyz(9.4905, 15.2638, 8.9233)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B4A #7B2F60
analogous
#3A7B2F #2F7B4A #2F7B70
triadic
#2F7B4A #4A2F7B #7B4A2F
tetradic
#2F7B4A #2F3A7B #7B2F60 #7B702F
square
#2F7B4A #2F3A7B #7B2F60 #7B702F
split-complementary
#2F7B4A #702F7B #7B2F3A
monochromatic
#0D2215 #1E4F2F #2F7B4A #40A765 #62C384

Accessibility & contrast

On white

5.18
#2F7B4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2F7B4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B4A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B4A#FFFFFF#000000##FFFFFF
##2F7B4A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7147
Deuteranopia (green-blind)
#716A4D
Tritanopia (blue-blind)
#16796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7b4a;
/* rgb */ color: rgb(47, 123, 74);
/* oklch */ color: oklch(52.2% 0.108 152.4);
Tailwind
colors: {
  custom: {
    50: '#70a27d',
    500: '#2f7b4a',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b4a;
$custom-light: #70a27d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b4a",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 74
  },
  "hsl": {
    "h": 141.316,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.10771,
    "h": 152.4
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#2F7B4A
secondary
#AA5C8E
accent
#53A7D4
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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