#2F8F4C#2F8F4C

#2F8F4C is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.135 H 149.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F8F4C
RGBrgb(47, 143, 76)
HSLhsl(138, 51%, 37%)
HSVhsv(138, 67%, 56%)
CMYKcmyk(67.1%, 0%, 46.9%, 43.9%)
CIE-LABlab(52.70, -43.21, 27.62)
CIE-LCHlch(52.70, 51.28, 147.42°)
OKLaboklab(57.76% -0.1165 0.0677)
OKLCHoklch(57.76% 0.135 149.8)
XYZxyz(12.2983, 20.7698, 10.1969)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F4C #8F2F72
analogous
#428F2F #2F8F4C #2F8F7C
triadic
#2F8F4C #4C2F8F #8F4C2F
tetradic
#2F8F4C #2F428F #8F2F72 #8F7C2F
square
#2F8F4C #2F428F #8F2F72 #8F7C2F
split-complementary
#2F8F4C #7C2F8F #8F2F42
monochromatic
#11331B #206134 #2F8F4C #3EBD64 #6ACE88

Accessibility & contrast

On white

4.07
#2F8F4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#2F8F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F4C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F4C#FFFFFF#000000##000000
##2F8F4C1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908347
Deuteranopia (green-blind)
#847A51
Tritanopia (blue-blind)
#068C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f8f4c;
/* rgb */ color: rgb(47, 143, 76);
/* oklch */ color: oklch(57.8% 0.135 149.8);
Tailwind
colors: {
  custom: {
    50: '#73b17f',
    500: '#2f8f4c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f4c;
$custom-light: #73b17f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f4c",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 138.125,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.13478,
    "h": 149.8
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#2F8F4C
secondary
#B5659D
accent
#4EB0DA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2F8F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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