#2F8D2A#2F8D2A

#2F8D2A is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.162 H 142.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F8D2A
RGBrgb(47, 141, 42)
HSLhsl(117, 54%, 36%)
HSVhsv(117, 70%, 55%)
CMYKcmyk(66.7%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.63, -47.02, 42.99)
CIE-LCHlch(51.63, 63.71, 137.56°)
OKLaboklab(56.75% -0.1279 0.0986)
OKLCHoklch(56.75% 0.162 142.4)
XYZxyz(11.1145, 19.8201, 5.4300)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D2A #882A8D
analogous
#608D2A #2F8D2A #2A8D56
triadic
#2F8D2A #2A2F8D #8D2A2F
tetradic
#2F8D2A #2A608D #882A8D #8D562A
square
#2F8D2A #2A608D #882A8D #8D562A
split-complementary
#2F8D2A #562A8D #8D2A60
monochromatic
#102F0E #1F5E1C #2F8D2A #3FBC38 #67D061

Accessibility & contrast

On white

4.23
#2F8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2F8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D2A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D2A#FFFFFF#000000##000000
##2F8D2A1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#1B8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d2a;
/* rgb */ color: rgb(47, 141, 42);
/* oklch */ color: oklch(56.7% 0.162 142.4);
Tailwind
colors: {
  custom: {
    50: '#74af69',
    500: '#2f8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d2a;
$custom-light: #74af69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d2a",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 116.97,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.16151,
    "h": 142.4
  },
  "luminance": 0.19821
}

Semantic roles & 50–950 ramp

primary
#2F8D2A
secondary
#B15DB6
accent
#4ADDD6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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