#2F8423#2F8423

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

Color values

HEX#2F8423
RGBrgb(47, 132, 35)
HSLhsl(113, 58%, 33%)
HSVhsv(113, 73%, 52%)
CMYKcmyk(64.4%, 0%, 73.5%, 48.2%)
CIE-LABlab(48.55, -44.34, 42.64)
CIE-LCHlch(48.55, 61.52, 136.12°)
OKLaboklab(54.18% -0.1211 0.0969)
OKLCHoklch(54.18% 0.155 141.3)
XYZxyz(9.7264, 17.2273, 4.4024)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8423 #782384
analogous
#608423 #2F8423 #238447
triadic
#2F8423 #232F84 #84232F
tetradic
#2F8423 #236084 #782384 #844723
square
#2F8423 #236084 #782384 #844723
split-complementary
#2F8423 #472384 #842360
monochromatic
#0D2309 #1E5416 #2F8423 #40B430 #60D151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8423#FFFFFF#000000##FFFFFF
##2F84231.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)
#877813
Deuteranopia (green-blind)
#7D712D
Tritanopia (blue-blind)
#218071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8423;
/* rgb */ color: rgb(47, 132, 35);
/* oklch */ color: oklch(54.2% 0.155 141.3);
Tailwind
colors: {
  custom: {
    50: '#73a964',
    500: '#2f8423',
    950: '#000000',
  },
}
SCSS
$custom: #2f8423;
$custom-light: #73a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8423",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 112.577,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54177,
    "c": 0.1551,
    "h": 141.3
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#2F8423
secondary
#A84EB4
accent
#46E1CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8423

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

Preview Lab → · Contrast checker → · Palette generator →

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