#2F7327#2F7327

#2F7327 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.130 H 141.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#2F7327
RGBrgb(47, 115, 39)
HSLhsl(114, 49%, 30%)
HSVhsv(114, 66%, 45%)
CMYKcmyk(59.1%, 0%, 66.1%, 54.9%)
CIE-LABlab(42.78, -37.31, 34.71)
CIE-LCHlch(42.78, 50.96, 137.06°)
OKLaboklab(49.43% -0.1018 0.0807)
OKLCHoklch(49.43% 0.13 141.6)
XYZxyz(7.6689, 13.0116, 4.0264)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7327 #6B2773
analogous
#557327 #2F7327 #277345
triadic
#2F7327 #272F73 #73272F
tetradic
#2F7327 #275573 #6B2773 #734527
square
#2F7327 #275573 #6B2773 #734527
split-complementary
#2F7327 #452773 #732755
monochromatic
#0A1808 #1C4518 #2F7327 #42A136 #5DC451

Accessibility & contrast

On white

5.83
#2F7327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#2F7327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7327
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7327#FFFFFF#000000##FFFFFF
##2F73271.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691E
Deuteranopia (green-blind)
#6D632D
Tritanopia (blue-blind)
#256F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7327;
/* rgb */ color: rgb(47, 115, 39);
/* oklch */ color: oklch(49.4% 0.130 141.6);
Tailwind
colors: {
  custom: {
    50: '#6f9c65',
    500: '#2f7327',
    950: '#000000',
  },
}
SCSS
$custom: #2f7327;
$custom-light: #6f9c65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7327",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 113.684,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49427,
    "c": 0.12994,
    "h": 141.6
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#2F7327
secondary
#9C50A5
accent
#4FD9CA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7327

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

Preview Lab → · Contrast checker → · Palette generator →

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