#2F8F24#2F8F24

#2F8F24 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.168 H 141.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F8F24
RGBrgb(47, 143, 36)
HSLhsl(114, 60%, 35%)
HSVhsv(114, 75%, 56%)
CMYKcmyk(67.1%, 0%, 74.8%, 43.9%)
CIE-LABlab(52.26, -48.27, 46.04)
CIE-LCHlch(52.26, 66.71, 136.35°)
OKLaboklab(57.25% -0.1317 0.1042)
OKLCHoklch(57.25% 0.168 141.7)
XYZxyz(11.3126, 20.3755, 5.0054)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F24 #84248F
analogous
#648F24 #2F8F24 #248F4F
triadic
#2F8F24 #242F8F #8F242F
tetradic
#2F8F24 #24648F #84248F #8F4F24
square
#2F8F24 #24648F #84248F #8F4F24
split-complementary
#2F8F24 #4F248F #8F2464
monochromatic
#0F2D0B #1F5E18 #2F8F24 #3FC030 #65D558

Accessibility & contrast

On white

4.14
#2F8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2F8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F24
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F24#FFFFFF#000000##000000
##2F8F241.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938110
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f24;
/* rgb */ color: rgb(47, 143, 36);
/* oklch */ color: oklch(57.3% 0.168 141.7);
Tailwind
colors: {
  custom: {
    50: '#75b166',
    500: '#2f8f24',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f24;
$custom-light: #75b166;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f24",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 113.832,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.16789,
    "h": 141.7
  },
  "luminance": 0.20377
}

Semantic roles & 50–950 ramp

primary
#2F8F24
secondary
#AF55B9
accent
#45E3D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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