#2F9D2B#2F9D2B

#2F9D2B is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.180 H 142.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2F9D2B
RGBrgb(47, 157, 43)
HSLhsl(118, 57%, 39%)
HSVhsv(118, 73%, 62%)
CMYKcmyk(70.1%, 0%, 72.6%, 38.4%)
CIE-LABlab(56.97, -52.59, 48.17)
CIE-LCHlch(56.97, 71.32, 137.51°)
OKLaboklab(61.17% -0.143 0.1095)
OKLCHoklch(61.17% 0.18 142.5)
XYZxyz(13.6645, 24.8912, 6.3694)
Luminance0.2489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D2B #992B9D
analogous
#689D2B #2F9D2B #2B9D60
triadic
#2F9D2B #2B2F9D #9D2B2F
tetradic
#2F9D2B #2B689D #992B9D #9D602B
square
#2F9D2B #2B689D #992B9D #9D602B
split-complementary
#2F9D2B #602B9D #9D2B68
monochromatic
#123D11 #216D1E #2F9D2B #41CA3C #6FD76C

Accessibility & contrast

On white

3.51
#2F9D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#2F9D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F9D2B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F9D2B#FFFFFF#000000##000000
##2F9D2B1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E18
Deuteranopia (green-blind)
#948537
Tritanopia (blue-blind)
#119887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9d2b;
/* rgb */ color: rgb(47, 157, 43);
/* oklch */ color: oklch(61.2% 0.180 142.5);
Tailwind
colors: {
  custom: {
    50: '#78bb6b',
    500: '#2f9d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d2b;
$custom-light: #78bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d2b",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 117.895,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.18013,
    "h": 142.5
  },
  "luminance": 0.24893
}

Semantic roles & 50–950 ramp

primary
#2F9D2B
secondary
#BA66BD
accent
#48E0DB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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