#2F894B#2F894B

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

Color values

HEX#2F894B
RGBrgb(47, 137, 75)
HSLhsl(139, 49%, 36%)
HSVhsv(139, 66%, 54%)
CMYKcmyk(65.7%, 0%, 45.3%, 46.3%)
CIE-LABlab(50.69, -40.97, 25.59)
CIE-LCHlch(50.69, 48.30, 148.01°)
OKLaboklab(56.1% -0.1106 0.063)
OKLCHoklch(56.1% 0.127 150.3)
XYZxyz(11.3871, 19.0025, 9.7230)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F894B #892F6D
analogous
#40892F #2F894B #2F8978
triadic
#2F894B #4B2F89 #894B2F
tetradic
#2F894B #2F4089 #892F6D #89782F
square
#2F894B #2F4089 #892F6D #89782F
split-complementary
#2F894B #782F89 #892F40
monochromatic
#102E19 #1F5B32 #2F894B #3FB764 #67CB86

Accessibility & contrast

On white

4.37
#2F894B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F894B#FFFFFF#000000##000000
##2F894B1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E46
Deuteranopia (green-blind)
#7E764F
Tritanopia (blue-blind)
#0D877A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f894b;
/* rgb */ color: rgb(47, 137, 75);
/* oklch */ color: oklch(56.1% 0.127 150.3);
Tailwind
colors: {
  custom: {
    50: '#72ac7e',
    500: '#2f894b',
    950: '#000000',
  },
}
SCSS
$custom: #2f894b;
$custom-light: #72ac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f894b",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 75
  },
  "hsl": {
    "h": 138.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56098,
    "c": 0.12726,
    "h": 150.3
  },
  "luminance": 0.19004
}

Semantic roles & 50–950 ramp

primary
#2F894B
secondary
#B26299
accent
#4FAED8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F894B

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

Preview Lab → · Contrast checker → · Palette generator →

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