#2F9742#2F9742

#2F9742 is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.155 H 146.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2F9742
RGBrgb(47, 151, 66)
HSLhsl(131, 53%, 39%)
HSVhsv(131, 69%, 59%)
CMYKcmyk(68.9%, 0%, 56.3%, 40.8%)
CIE-LABlab(55.21, -47.85, 35.90)
CIE-LCHlch(55.21, 59.82, 143.12°)
OKLaboklab(59.78% -0.1291 0.0857)
OKLCHoklch(59.78% 0.155 146.4)
XYZxyz(13.2213, 23.1295, 8.9209)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9742 #972F84
analogous
#50972F #2F9742 #2F9776
triadic
#2F9742 #422F97 #97422F
tetradic
#2F9742 #2F5097 #972F84 #97762F
square
#2F9742 #2F5097 #972F84 #97762F
split-complementary
#2F9742 #762F97 #972F50
monochromatic
#123A19 #20682E #2F9742 #40C358 #6ED281

Accessibility & contrast

On white

3.73
#2F9742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2F9742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9742
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9742#FFFFFF#000000##000000
##2F97421.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893A
Deuteranopia (green-blind)
#8D8149
Tritanopia (blue-blind)
#079384
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9742;
/* rgb */ color: rgb(47, 151, 66);
/* oklch */ color: oklch(59.8% 0.155 146.4);
Tailwind
colors: {
  custom: {
    50: '#76b779',
    500: '#2f9742',
    950: '#000000',
  },
}
SCSS
$custom: #2f9742;
$custom-light: #76b779;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9742",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 66
  },
  "hsl": {
    "h": 130.962,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.155,
    "h": 146.4
  },
  "luminance": 0.23131
}

Semantic roles & 50–950 ramp

primary
#2F9742
secondary
#B968AB
accent
#4CC2DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9742

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

Preview Lab → · Contrast checker → · Palette generator →

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