#2F8421#2F8421

#2F8421 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.156 H 141.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8421
RGBrgb(47, 132, 33)
HSLhsl(112, 60%, 32%)
HSVhsv(112, 75%, 52%)
CMYKcmyk(64.4%, 0%, 75%, 48.2%)
CIE-LABlab(48.53, -44.51, 43.41)
CIE-LCHlch(48.53, 62.18, 135.71°)
OKLaboklab(54.16% -0.1217 0.0983)
OKLCHoklch(54.16% 0.156 141.1)
XYZxyz(9.6976, 17.2157, 4.2505)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8421 #762184
analogous
#618421 #2F8421 #218444
triadic
#2F8421 #212F84 #84212F
tetradic
#2F8421 #216184 #762184 #844421
square
#2F8421 #216184 #762184 #844421
split-complementary
#2F8421 #442184 #842161
monochromatic
#0C2209 #1E5315 #2F8421 #40B52D #60D24D

Accessibility & contrast

On white

4.73
#2F8421 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F8421 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8421
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8421#FFFFFF#000000##FFFFFF
##2F84211.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87780F
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#218071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8421;
/* rgb */ color: rgb(47, 132, 33);
/* oklch */ color: oklch(54.2% 0.156 141.1);
Tailwind
colors: {
  custom: {
    50: '#73a963',
    500: '#2f8421',
    950: '#000000',
  },
}
SCSS
$custom: #2f8421;
$custom-light: #73a963;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8421",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 111.515,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.15639,
    "h": 141.1
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#2F8421
secondary
#A74BB6
accent
#45E3CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8421

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

Preview Lab → · Contrast checker → · Palette generator →

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