#2F894F#2F894F

#2F894F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.123 H 151.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F894F
RGBrgb(47, 137, 79)
HSLhsl(141, 49%, 36%)
HSVhsv(141, 66%, 54%)
CMYKcmyk(65.7%, 0%, 42.3%, 46.3%)
CIE-LABlab(50.76, -40.24, 23.48)
CIE-LCHlch(50.76, 46.59, 149.74°)
OKLaboklab(56.17% -0.1087 0.0582)
OKLCHoklch(56.17% 0.123 151.8)
XYZxyz(11.5283, 19.0590, 10.4668)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F894F #892F69
analogous
#3C892F #2F894F #2F897C
triadic
#2F894F #4F2F89 #894F2F
tetradic
#2F894F #2F3C89 #892F69 #897C2F
square
#2F894F #2F3C89 #892F69 #897C2F
split-complementary
#2F894F #7C2F89 #892F3C
monochromatic
#102E1A #1F5B35 #2F894F #3FB769 #67CB8B

Accessibility & contrast

On white

4.36
#2F894F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2F894F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F894F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F894F#FFFFFF#000000##000000
##2F894F1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4B
Deuteranopia (green-blind)
#7E7653
Tritanopia (blue-blind)
#08877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f894f;
/* rgb */ color: rgb(47, 137, 79);
/* oklch */ color: oklch(56.2% 0.123 151.8);
Tailwind
colors: {
  custom: {
    50: '#72ac81',
    500: '#2f894f',
    950: '#000000',
  },
}
SCSS
$custom: #2f894f;
$custom-light: #72ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#2f894f",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 79
  },
  "hsl": {
    "h": 141.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.1233,
    "h": 151.8
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#2F894F
secondary
#B26295
accent
#4FA8D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F894F

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

Preview Lab → · Contrast checker → · Palette generator →

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