#2F8E52#2F8E52

#2F8E52 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.127 H 152.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F8E52
RGBrgb(47, 142, 82)
HSLhsl(142, 50%, 37%)
HSVhsv(142, 67%, 56%)
CMYKcmyk(66.9%, 0%, 42.3%, 44.3%)
CIE-LABlab(52.46, -41.73, 24.06)
CIE-LCHlch(52.46, 48.17, 150.04°)
OKLaboklab(57.6% -0.1127 0.0597)
OKLCHoklch(57.6% 0.127 152.1)
XYZxyz(12.3673, 20.5582, 11.2974)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E52 #8E2F6B
analogous
#3C8E2F #2F8E52 #2F8E82
triadic
#2F8E52 #522F8E #8E522F
tetradic
#2F8E52 #2F3C8E #8E2F6B #8E822F
square
#2F8E52 #2F3C8E #8E2F6B #8E822F
split-complementary
#2F8E52 #822F8E #8E2F3C
monochromatic
#11321D #206037 #2F8E52 #3EBC6D #6ACE8F

Accessibility & contrast

On white

4.11
#2F8E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2F8E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E52
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E52#FFFFFF#000000##000000
##2F8E521.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824E
Deuteranopia (green-blind)
#827A56
Tritanopia (blue-blind)
#008C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8e52;
/* rgb */ color: rgb(47, 142, 82);
/* oklch */ color: oklch(57.6% 0.127 152.1);
Tailwind
colors: {
  custom: {
    50: '#73b083',
    500: '#2f8e52',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e52;
$custom-light: #73b083;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e52",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 82
  },
  "hsl": {
    "h": 142.105,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.12749,
    "h": 152.1
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#2F8E52
secondary
#B56497
accent
#4EA6DA
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8E52

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

Preview Lab → · Contrast checker → · Palette generator →

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