#2F8428#2F8428

#2F8428 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.152 H 142.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F8428
RGBrgb(47, 132, 40)
HSLhsl(115, 53%, 34%)
HSVhsv(115, 70%, 52%)
CMYKcmyk(64.4%, 0%, 69.7%, 48.2%)
CIE-LABlab(48.58, -43.88, 40.60)
CIE-LCHlch(48.58, 59.78, 137.22°)
OKLaboklab(54.22% -0.1196 0.0933)
OKLCHoklch(54.22% 0.152 142)
XYZxyz(9.8060, 17.2591, 4.8216)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8428 #7D2884
analogous
#5D8428 #2F8428 #28844F
triadic
#2F8428 #282F84 #84282F
tetradic
#2F8428 #285D84 #7D2884 #844F28
square
#2F8428 #285D84 #7D2884 #844F28
split-complementary
#2F8428 #4F2884 #84285D
monochromatic
#0E260C #1E551A #2F8428 #40B336 #62CD5A

Accessibility & contrast

On white

4.72
#2F8428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2F8428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8428
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8428#FFFFFF#000000##FFFFFF
##2F84281.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781B
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#208071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8428;
/* rgb */ color: rgb(47, 132, 40);
/* oklch */ color: oklch(54.2% 0.152 142.0);
Tailwind
colors: {
  custom: {
    50: '#73a967',
    500: '#2f8428',
    950: '#000000',
  },
}
SCSS
$custom: #2f8428;
$custom-light: #73a967;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8428",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 115.435,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54222,
    "c": 0.15164,
    "h": 142
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#2F8428
secondary
#AB56B2
accent
#4BDDD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8428

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

Preview Lab → · Contrast checker → · Palette generator →

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