#2F7B4E#2F7B4E

#2F7B4E is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.104 H 154.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F7B4E
RGBrgb(47, 123, 78)
HSLhsl(144, 45%, 33%)
HSVhsv(144, 62%, 48%)
CMYKcmyk(61.8%, 0%, 36.6%, 51.8%)
CIE-LABlab(46.07, -34.45, 17.83)
CIE-LCHlch(46.07, 38.79, 152.64°)
OKLaboklab(52.32% -0.0935 0.0448)
OKLCHoklch(52.32% 0.104 154.4)
XYZxyz(9.6296, 15.3194, 9.6557)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B4E #7B2F5C
analogous
#367B2F #2F7B4E #2F7B74
triadic
#2F7B4E #4E2F7B #7B4E2F
tetradic
#2F7B4E #2F367B #7B2F5C #7B742F
square
#2F7B4E #2F367B #7B2F5C #7B742F
split-complementary
#2F7B4E #742F7B #7B2F36
monochromatic
#0D2216 #1E4F32 #2F7B4E #40A76A #62C389

Accessibility & contrast

On white

5.17
#2F7B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F7B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B4E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B4E#FFFFFF#000000##FFFFFF
##2F7B4E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B714B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#147A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7b4e;
/* rgb */ color: rgb(47, 123, 78);
/* oklch */ color: oklch(52.3% 0.104 154.4);
Tailwind
colors: {
  custom: {
    50: '#6fa280',
    500: '#2f7b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b4e;
$custom-light: #6fa280;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b4e",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 144.474,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.10365,
    "h": 154.4
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#2F7B4E
secondary
#AA5C8A
accent
#53A0D4
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2F7B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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