#2F8A24#2F8A24

#2F8A24 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.162 H 141.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8A24
RGBrgb(47, 138, 36)
HSLhsl(114, 59%, 34%)
HSVhsv(114, 74%, 54%)
CMYKcmyk(65.9%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.58, -46.47, 44.33)
CIE-LCHlch(50.58, 64.22, 136.35°)
OKLaboklab(55.86% -0.1268 0.1006)
OKLCHoklch(55.86% 0.162 141.6)
XYZxyz(10.5786, 18.9076, 4.7608)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A24 #7F248A
analogous
#628A24 #2F8A24 #248A4C
triadic
#2F8A24 #242F8A #8A242F
tetradic
#2F8A24 #24628A #7F248A #8A4C24
square
#2F8A24 #24628A #7F248A #8A4C24
split-complementary
#2F8A24 #4C248A #8A2462
monochromatic
#0E290B #1E5917 #2F8A24 #40BB31 #63D356

Accessibility & contrast

On white

4.39
#2F8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2F8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A24
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A24#FFFFFF#000000##000000
##2F8A241.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D12
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#1E8676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a24;
/* rgb */ color: rgb(47, 138, 36);
/* oklch */ color: oklch(55.9% 0.162 141.6);
Tailwind
colors: {
  custom: {
    50: '#74ad65',
    500: '#2f8a24',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a24;
$custom-light: #74ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a24",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 113.529,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.16185,
    "h": 141.6
  },
  "luminance": 0.18909
}

Semantic roles & 50–950 ramp

primary
#2F8A24
secondary
#AC53B7
accent
#46E2D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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