#2F8D38#2F8D38

#2F8D38 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.151 H 144.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F8D38
RGBrgb(47, 141, 56)
HSLhsl(126, 50%, 37%)
HSVhsv(126, 67%, 55%)
CMYKcmyk(66.7%, 0%, 60.3%, 44.7%)
CIE-LABlab(51.77, -45.45, 36.77)
CIE-LCHlch(51.77, 58.46, 141.03°)
OKLaboklab(56.9% -0.123 0.0868)
OKLCHoklch(56.9% 0.151 144.8)
XYZxyz(11.4103, 19.9384, 6.9878)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D38 #8D2F84
analogous
#558D2F #2F8D38 #2F8D67
triadic
#2F8D38 #382F8D #8D382F
tetradic
#2F8D38 #2F558D #8D2F84 #8D672F
square
#2F8D38 #2F558D #8D2F84 #8D672F
split-complementary
#2F8D38 #672F8D #8D2F55
monochromatic
#103114 #205F26 #2F8D38 #3EBB4A #69CD73

Accessibility & contrast

On white

4.21
#2F8D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2F8D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D38
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D38#FFFFFF#000000##000000
##2F8D381.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#84783F
Tritanopia (blue-blind)
#16897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d38;
/* rgb */ color: rgb(47, 141, 56);
/* oklch */ color: oklch(56.9% 0.151 144.8);
Tailwind
colors: {
  custom: {
    50: '#74af71',
    500: '#2f8d38',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d38;
$custom-light: #74af71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d38",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 125.745,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56904,
    "c": 0.15055,
    "h": 144.8
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#2F8D38
secondary
#B464AC
accent
#4ECCDA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8D38

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

Preview Lab → · Contrast checker → · Palette generator →

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