#2F9848#2F9848

#2F9848 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.1% C 0.151 H 147.8°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F9848
RGBrgb(47, 152, 72)
HSLhsl(134, 53%, 39%)
HSVhsv(134, 69%, 60%)
CMYKcmyk(69.1%, 0%, 52.6%, 40.4%)
CIE-LABlab(55.61, -47.35, 33.37)
CIE-LCHlch(55.61, 57.92, 144.83°)
OKLaboklab(60.14% -0.1276 0.0805)
OKLCHoklch(60.14% 0.151 147.8)
XYZxyz(13.5692, 23.5272, 9.9557)
Luminance0.2353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9848 #982F7F
analogous
#4B982F #2F9848 #2F987D
triadic
#2F9848 #482F98 #98482F
tetradic
#2F9848 #2F4B98 #982F7F #987D2F
square
#2F9848 #2F4B98 #982F7F #987D2F
split-complementary
#2F9848 #7D2F98 #982F4B
monochromatic
#123B1C #216932 #2F9848 #40C460 #6FD287

Accessibility & contrast

On white

3.68
#2F9848 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#2F9848 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9848
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9848#FFFFFF#000000##000000
##2F98481.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B41
Deuteranopia (green-blind)
#8D824E
Tritanopia (blue-blind)
#009586
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f9848;
/* rgb */ color: rgb(47, 152, 72);
/* oklch */ color: oklch(60.1% 0.151 147.8);
Tailwind
colors: {
  custom: {
    50: '#75b77d',
    500: '#2f9848',
    950: '#000000',
  },
}
SCSS
$custom: #2f9848;
$custom-light: #75b77d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9848",
  "rgb": {
    "r": 47,
    "g": 152,
    "b": 72
  },
  "hsl": {
    "h": 134.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60143,
    "c": 0.1509,
    "h": 147.8
  },
  "luminance": 0.23529
}

Semantic roles & 50–950 ramp

primary
#2F9848
secondary
#BA69A7
accent
#4CBADC
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2F9848

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

Preview Lab → · Contrast checker → · Palette generator →

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