#2F8D52#2F8D52

#2F8D52 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.126 H 152.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F8D52
RGBrgb(47, 141, 82)
HSLhsl(142, 50%, 37%)
HSVhsv(142, 67%, 55%)
CMYKcmyk(66.7%, 0%, 41.8%, 44.7%)
CIE-LABlab(52.13, -41.32, 23.63)
CIE-LCHlch(52.13, 47.60, 150.24°)
OKLaboklab(57.32% -0.1116 0.0586)
OKLCHoklch(57.32% 0.126 152.3)
XYZxyz(12.2192, 20.2620, 11.2480)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D52 #8D2F6A
analogous
#3B8D2F #2F8D52 #2F8D81
triadic
#2F8D52 #522F8D #8D522F
tetradic
#2F8D52 #2F3B8D #8D2F6A #8D812F
square
#2F8D52 #2F3B8D #8D2F6A #8D812F
split-complementary
#2F8D52 #812F8D #8D2F3B
monochromatic
#10311D #205F37 #2F8D52 #3EBB6D #69CD8E

Accessibility & contrast

On white

4.16
#2F8D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2F8D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D52
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D52#FFFFFF#000000##000000
##2F8D521.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#018B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d52;
/* rgb */ color: rgb(47, 141, 82);
/* oklch */ color: oklch(57.3% 0.126 152.3);
Tailwind
colors: {
  custom: {
    50: '#73af83',
    500: '#2f8d52',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d52;
$custom-light: #73af83;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d52",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 142.34,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57323,
    "c": 0.12606,
    "h": 152.3
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8D52

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

Preview Lab → · Contrast checker → · Palette generator →

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