#2F8B52#2F8B52

#2F8B52 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.123 H 152.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2F8B52
RGBrgb(47, 139, 82)
HSLhsl(143, 49%, 36%)
HSVhsv(143, 66%, 55%)
CMYKcmyk(66.2%, 0%, 41%, 45.5%)
CIE-LABlab(51.47, -40.50, 22.76)
CIE-LCHlch(51.47, 46.46, 150.67°)
OKLaboklab(56.78% -0.1094 0.0566)
OKLCHoklch(56.78% 0.123 152.7)
XYZxyz(11.9269, 19.6775, 11.1506)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8B52 #8B2F68
analogous
#3A8B2F #2F8B52 #2F8B80
triadic
#2F8B52 #522F8B #8B522F
tetradic
#2F8B52 #2F3A8B #8B2F68 #8B802F
square
#2F8B52 #2F3A8B #8B2F68 #8B802F
split-complementary
#2F8B52 #802F8B #8B2F3A
monochromatic
#10301C #205D37 #2F8B52 #3EB96D #68CC8E

Accessibility & contrast

On white

4.25
#2F8B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2F8B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8B52
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8B52#FFFFFF#000000##000000
##2F8B521.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804E
Deuteranopia (green-blind)
#7F7756
Tritanopia (blue-blind)
#03897D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8b52;
/* rgb */ color: rgb(47, 139, 82);
/* oklch */ color: oklch(56.8% 0.123 152.7);
Tailwind
colors: {
  custom: {
    50: '#73ae83',
    500: '#2f8b52',
    950: '#000000',
  },
}
SCSS
$custom: #2f8b52;
$custom-light: #73ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8b52",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 82
  },
  "hsl": {
    "h": 142.826,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56779,
    "c": 0.12321,
    "h": 152.7
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

primary
#2F8B52
secondary
#B36395
accent
#4FA4D9
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8B52

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

Preview Lab → · Contrast checker → · Palette generator →

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