#2F834C#2F834C

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

Color values

HEX#2F834C
RGBrgb(47, 131, 76)
HSLhsl(141, 47%, 35%)
HSVhsv(141, 64%, 51%)
CMYKcmyk(64.1%, 0%, 42%, 48.6%)
CIE-LABlab(48.71, -38.30, 22.46)
CIE-LCHlch(48.71, 44.40, 149.61°)
OKLaboklab(54.47% -0.1035 0.0557)
OKLCHoklch(54.47% 0.118 151.7)
XYZxyz(10.5923, 17.3577, 9.6282)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F834C #832F66
analogous
#3C832F #2F834C #2F8376
triadic
#2F834C #4C2F83 #834C2F
tetradic
#2F834C #2F3C83 #832F66 #83762F
square
#2F834C #2F3C83 #832F66 #83762F
split-complementary
#2F834C #762F83 #832F3C
monochromatic
#0F2918 #1F5632 #2F834C #3FB066 #65C887

Accessibility & contrast

On white

4.70
#2F834C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F834C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F834C#FFFFFF#000000##FFFFFF
##2F834C1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837848
Deuteranopia (green-blind)
#787150
Tritanopia (blue-blind)
#108175
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f834c;
/* rgb */ color: rgb(47, 131, 76);
/* oklch */ color: oklch(54.5% 0.118 151.7);
Tailwind
colors: {
  custom: {
    50: '#71a87e',
    500: '#2f834c',
    950: '#000000',
  },
}
SCSS
$custom: #2f834c;
$custom-light: #71a87e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f834c",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 76
  },
  "hsl": {
    "h": 140.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.11758,
    "h": 151.7
  },
  "luminance": 0.17359
}

Semantic roles & 50–950 ramp

primary
#2F834C
secondary
#AF5F93
accent
#51A9D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F834C

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

Preview Lab → · Contrast checker → · Palette generator →

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