#2F9740#2F9740

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

Color values

HEX#2F9740
RGBrgb(47, 151, 64)
HSLhsl(130, 53%, 39%)
HSVhsv(130, 69%, 59%)
CMYKcmyk(68.9%, 0%, 57.6%, 40.8%)
CIE-LABlab(55.18, -48.13, 36.86)
CIE-LCHlch(55.18, 60.62, 142.55°)
OKLaboklab(59.76% -0.1299 0.0877)
OKLCHoklch(59.76% 0.157 146)
XYZxyz(13.1634, 23.1063, 8.6157)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9740 #972F86
analogous
#52972F #2F9740 #2F9774
triadic
#2F9740 #402F97 #97402F
tetradic
#2F9740 #2F5297 #972F86 #97742F
square
#2F9740 #2F5297 #972F86 #97742F
split-complementary
#2F9740 #742F97 #972F52
monochromatic
#123A18 #20682C #2F9740 #40C355 #6ED27F

Accessibility & contrast

On white

3.74
#2F9740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#2F9740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9740
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9740#FFFFFF#000000##000000
##2F97401.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#8D8147
Tritanopia (blue-blind)
#099384
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f9740;
/* rgb */ color: rgb(47, 151, 64);
/* oklch */ color: oklch(59.8% 0.157 146.0);
Tailwind
colors: {
  custom: {
    50: '#76b777',
    500: '#2f9740',
    950: '#000000',
  },
}
SCSS
$custom: #2f9740;
$custom-light: #76b777;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9740",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 129.808,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59755,
    "c": 0.15676,
    "h": 146
  },
  "luminance": 0.23108
}

Semantic roles & 50–950 ramp

primary
#2F9740
secondary
#B968AC
accent
#4CC4DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F9740

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

Preview Lab → · Contrast checker → · Palette generator →

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