#2F8327#2F8327

#2F8327 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.151 H 141.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F8327
RGBrgb(47, 131, 39)
HSLhsl(115, 54%, 33%)
HSVhsv(115, 70%, 51%)
CMYKcmyk(64.1%, 0%, 70.2%, 48.6%)
CIE-LABlab(48.24, -43.60, 40.66)
CIE-LCHlch(48.24, 59.61, 137.00°)
OKLaboklab(53.93% -0.1189 0.0933)
OKLCHoklch(53.93% 0.151 141.9)
XYZxyz(9.6543, 16.9825, 4.6882)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8327 #7B2783
analogous
#5D8327 #2F8327 #27834D
triadic
#2F8327 #272F83 #83272F
tetradic
#2F8327 #275D83 #7B2783 #834D27
square
#2F8327 #275D83 #7B2783 #834D27
split-complementary
#2F8327 #4D2783 #83275D
monochromatic
#0D250B #1E5419 #2F8327 #40B235 #62CD57

Accessibility & contrast

On white

4.78
#2F8327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F8327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8327
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8327#FFFFFF#000000##FFFFFF
##2F83271.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#207F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8327;
/* rgb */ color: rgb(47, 131, 39);
/* oklch */ color: oklch(53.9% 0.151 141.9);
Tailwind
colors: {
  custom: {
    50: '#73a866',
    500: '#2f8327',
    950: '#000000',
  },
}
SCSS
$custom: #2f8327;
$custom-light: #73a866;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8327",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 114.783,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53933,
    "c": 0.15109,
    "h": 141.9
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8327

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

Preview Lab → · Contrast checker → · Palette generator →

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