#2F8D24#2F8D24

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

Color values

HEX#2F8D24
RGBrgb(47, 141, 36)
HSLhsl(114, 59%, 35%)
HSVhsv(114, 74%, 55%)
CMYKcmyk(66.7%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.59, -47.55, 45.36)
CIE-LCHlch(51.59, 65.72, 136.35°)
OKLaboklab(56.7% -0.1297 0.1027)
OKLCHoklch(56.7% 0.165 141.6)
XYZxyz(11.0150, 19.7804, 4.9062)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D24 #82248D
analogous
#648D24 #2F8D24 #248D4D
triadic
#2F8D24 #242F8D #8D242F
tetradic
#2F8D24 #24648D #82248D #8D4D24
square
#2F8D24 #24648D #82248D #8D4D24
split-complementary
#2F8D24 #4D248D #8D2464
monochromatic
#0E2B0B #1F5C18 #2F8D24 #3FBE30 #64D457

Accessibility & contrast

On white

4.24
#2F8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8D24#FFFFFF#000000##000000
##2F8D241.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d24;
/* rgb */ color: rgb(47, 141, 36);
/* oklch */ color: oklch(56.7% 0.165 141.6);
Tailwind
colors: {
  custom: {
    50: '#75af66',
    500: '#2f8d24',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d24;
$custom-light: #75af66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d24",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 113.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.16549,
    "h": 141.6
  },
  "luminance": 0.19781
}

Semantic roles & 50–950 ramp

primary
#2F8D24
secondary
#AE54B8
accent
#45E3D2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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