#2F834D#2F834D

#2F834D is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.5% C 0.117 H 152.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F834D
RGBrgb(47, 131, 77)
HSLhsl(141, 47%, 35%)
HSVhsv(141, 64%, 51%)
CMYKcmyk(64.1%, 0%, 41.2%, 48.6%)
CIE-LABlab(48.73, -38.11, 21.93)
CIE-LCHlch(48.73, 43.97, 150.09°)
OKLaboklab(54.49% -0.103 0.0545)
OKLCHoklch(54.49% 0.117 152.1)
XYZxyz(10.6273, 17.3717, 9.8128)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F834D #832F65
analogous
#3B832F #2F834D #2F8377
triadic
#2F834D #4D2F83 #834D2F
tetradic
#2F834D #2F3B83 #832F65 #83772F
square
#2F834D #2F3B83 #832F65 #83772F
split-complementary
#2F834D #772F83 #832F3B
monochromatic
#0F2918 #1F5633 #2F834D #3FB067 #65C888

Accessibility & contrast

On white

4.69
#2F834D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F834D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F834D
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F834D#FFFFFF#000000##FFFFFF
##2F834D1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837849
Deuteranopia (green-blind)
#787151
Tritanopia (blue-blind)
#108176
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f834d;
/* rgb */ color: rgb(47, 131, 77);
/* oklch */ color: oklch(54.5% 0.117 152.1);
Tailwind
colors: {
  custom: {
    50: '#71a87f',
    500: '#2f834d',
    950: '#000000',
  },
}
SCSS
$custom: #2f834d;
$custom-light: #71a87f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f834d",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 77
  },
  "hsl": {
    "h": 141.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54492,
    "c": 0.11657,
    "h": 152.1
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#2F834D
secondary
#AF5F92
accent
#51A7D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F834D

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

Preview Lab → · Contrast checker → · Palette generator →

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