#2F9D2A#2F9D2A

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

Color values

HEX#2F9D2A
RGBrgb(47, 157, 42)
HSLhsl(117, 58%, 39%)
HSVhsv(117, 73%, 62%)
CMYKcmyk(70.1%, 0%, 73.2%, 38.4%)
CIE-LABlab(56.96, -52.68, 48.55)
CIE-LCHlch(56.96, 71.64, 137.34°)
OKLaboklab(61.16% -0.1433 0.1102)
OKLCHoklch(61.16% 0.181 142.4)
XYZxyz(13.6464, 24.8840, 6.2740)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F9D2A #982A9D
analogous
#699D2A #2F9D2A #2A9D5F
triadic
#2F9D2A #2A2F9D #9D2A2F
tetradic
#2F9D2A #2A699D #982A9D #9D5F2A
square
#2F9D2A #2A699D #982A9D #9D5F2A
split-complementary
#2F9D2A #5F2A9D #9D2A69
monochromatic
#123C10 #216D1D #2F9D2A #40CA3A #6FD76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F9D2A#FFFFFF#000000##000000
##2F9D2A1.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)
#A18E16
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#119886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #2f9d2a;
/* rgb */ color: rgb(47, 157, 42);
/* oklch */ color: oklch(61.2% 0.181 142.4);
Tailwind
colors: {
  custom: {
    50: '#78bb6b',
    500: '#2f9d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f9d2a;
$custom-light: #78bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f9d2a",
  "rgb": {
    "r": 47,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 117.391,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61164,
    "c": 0.18076,
    "h": 142.4
  },
  "luminance": 0.24885
}

Semantic roles & 50–950 ramp

primary
#2F9D2A
secondary
#BA65BE
accent
#47E1DA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2F9D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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