#2F9748#2F9748

#2F9748 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.9% C 0.150 H 147.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2F9748
RGBrgb(47, 151, 72)
HSLhsl(134, 53%, 39%)
HSVhsv(134, 69%, 59%)
CMYKcmyk(68.9%, 0%, 52.3%, 40.8%)
CIE-LABlab(55.28, -46.97, 32.96)
CIE-LCHlch(55.28, 57.38, 144.94°)
OKLaboklab(59.87% -0.1266 0.0796)
OKLCHoklch(59.87% 0.15 147.8)
XYZxyz(13.4076, 23.2040, 9.9019)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9748 #972F7E
analogous
#4A972F #2F9748 #2F977C
triadic
#2F9748 #482F97 #97482F
tetradic
#2F9748 #2F4A97 #972F7E #977C2F
square
#2F9748 #2F4A97 #972F7E #977C2F
split-complementary
#2F9748 #7C2F97 #972F4A
monochromatic
#123A1B #206832 #2F9748 #40C35F #6ED286

Accessibility & contrast

On white

3.72
#2F9748 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#2F9748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9748
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9748#FFFFFF#000000##000000
##2F97481.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A41
Deuteranopia (green-blind)
#8C814E
Tritanopia (blue-blind)
#019485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9748;
/* rgb */ color: rgb(47, 151, 72);
/* oklch */ color: oklch(59.9% 0.150 147.8);
Tailwind
colors: {
  custom: {
    50: '#75b67d',
    500: '#2f9748',
    950: '#000000',
  },
}
SCSS
$custom: #2f9748;
$custom-light: #75b67d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9748",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 72
  },
  "hsl": {
    "h": 134.423,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59871,
    "c": 0.14956,
    "h": 147.8
  },
  "luminance": 0.23205
}

Semantic roles & 50–950 ramp

primary
#2F9748
secondary
#B968A6
accent
#4CB9DC
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2F9748

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

Preview Lab → · Contrast checker → · Palette generator →

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