#2F8A38#2F8A38

#2F8A38 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.147 H 144.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F8A38
RGBrgb(47, 138, 56)
HSLhsl(126, 49%, 36%)
HSVhsv(126, 66%, 54%)
CMYKcmyk(65.9%, 0%, 59.4%, 45.9%)
CIE-LABlab(50.76, -44.31, 35.60)
CIE-LCHlch(50.76, 56.83, 141.22°)
OKLaboklab(56.07% -0.1199 0.0843)
OKLCHoklch(56.07% 0.147 144.9)
XYZxyz(10.9739, 19.0657, 6.8423)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A38 #8A2F81
analogous
#548A2F #2F8A38 #2F8A66
triadic
#2F8A38 #382F8A #8A382F
tetradic
#2F8A38 #2F548A #8A2F81 #8A662F
square
#2F8A38 #2F548A #8A2F81 #8A662F
split-complementary
#2F8A38 #662F8A #8A2F54
monochromatic
#102F13 #1F5C25 #2F8A38 #3FB84B #68CC72

Accessibility & contrast

On white

4.36
#2F8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2F8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A38
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A38#FFFFFF#000000##000000
##2F8A381.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E30
Deuteranopia (green-blind)
#81763E
Tritanopia (blue-blind)
#188678
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a38;
/* rgb */ color: rgb(47, 138, 56);
/* oklch */ color: oklch(56.1% 0.147 144.9);
Tailwind
colors: {
  custom: {
    50: '#73ad71',
    500: '#2f8a38',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a38;
$custom-light: #73ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a38",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 125.934,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.14657,
    "h": 144.9
  },
  "luminance": 0.19067
}

Semantic roles & 50–950 ramp

primary
#2F8A38
secondary
#B362AB
accent
#4FCBD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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