#2F894A#2F894A

#2F894A is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.1% C 0.128 H 150.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F894A
RGBrgb(47, 137, 74)
HSLhsl(138, 49%, 36%)
HSVhsv(138, 66%, 54%)
CMYKcmyk(65.7%, 0%, 46%, 46.3%)
CIE-LABlab(50.67, -41.15, 26.11)
CIE-LCHlch(50.67, 48.73, 147.60°)
OKLaboklab(56.08% -0.111 0.0642)
OKLCHoklch(56.08% 0.128 150)
XYZxyz(11.3531, 18.9889, 9.5442)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F894A #892F6E
analogous
#41892F #2F894A #2F8977
triadic
#2F894A #4A2F89 #894A2F
tetradic
#2F894A #2F4189 #892F6E #89772F
square
#2F894A #2F4189 #892F6E #89772F
split-complementary
#2F894A #772F89 #892F41
monochromatic
#102E19 #1F5B31 #2F894A #3FB763 #67CB85

Accessibility & contrast

On white

4.38
#2F894A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2F894A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F894A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F894A#FFFFFF#000000##000000
##2F894A1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D45
Deuteranopia (green-blind)
#7E754E
Tritanopia (blue-blind)
#0E877A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f894a;
/* rgb */ color: rgb(47, 137, 74);
/* oklch */ color: oklch(56.1% 0.128 150.0);
Tailwind
colors: {
  custom: {
    50: '#72ac7d',
    500: '#2f894a',
    950: '#000000',
  },
}
SCSS
$custom: #2f894a;
$custom-light: #72ac7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f894a",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 74
  },
  "hsl": {
    "h": 138,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.12825,
    "h": 150
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#2F894A
secondary
#B2629A
accent
#4FAFD8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F894A

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

Preview Lab → · Contrast checker → · Palette generator →

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