#2F8427#2F8427

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

Color values

HEX#2F8427
RGBrgb(47, 132, 39)
HSLhsl(115, 54%, 34%)
HSVhsv(115, 70%, 52%)
CMYKcmyk(64.4%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.58, -43.97, 41.02)
CIE-LCHlch(48.58, 60.13, 136.99°)
OKLaboklab(54.21% -0.1199 0.094)
OKLCHoklch(54.21% 0.152 141.9)
XYZxyz(9.7892, 17.2524, 4.7332)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8427 #7C2784
analogous
#5D8427 #2F8427 #27844D
triadic
#2F8427 #272F84 #84272F
tetradic
#2F8427 #275D84 #7C2784 #844D27
square
#2F8427 #275D84 #7C2784 #844D27
split-complementary
#2F8427 #4D2784 #84275D
monochromatic
#0D260B #1E5519 #2F8427 #40B335 #62CE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8427#FFFFFF#000000##FFFFFF
##2F84271.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)
#87781A
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#208071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8427;
/* rgb */ color: rgb(47, 132, 39);
/* oklch */ color: oklch(54.2% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#73a966',
    500: '#2f8427',
    950: '#000000',
  },
}
SCSS
$custom: #2f8427;
$custom-light: #73a966;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8427",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 114.839,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.15236,
    "h": 141.9
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#2F8427
secondary
#AA54B2
accent
#4ADED1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8427

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

Preview Lab → · Contrast checker → · Palette generator →

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