#2F7427#2F7427

#2F7427 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.131 H 141.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2F7427
RGBrgb(47, 116, 39)
HSLhsl(114, 50%, 30%)
HSVhsv(114, 66%, 45%)
CMYKcmyk(59.5%, 0%, 66.4%, 54.5%)
CIE-LABlab(43.12, -37.72, 35.10)
CIE-LCHlch(43.12, 51.52, 137.06°)
OKLaboklab(49.71% -0.1029 0.0815)
OKLCHoklch(49.71% 0.131 141.6)
XYZxyz(7.7835, 13.2409, 4.0646)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7427 #6C2774
analogous
#557427 #2F7427 #277445
triadic
#2F7427 #272F74 #74272F
tetradic
#2F7427 #275574 #6C2774 #744527
square
#2F7427 #275574 #6C2774 #744527
split-complementary
#2F7427 #452774 #742755
monochromatic
#0A1808 #1C4618 #2F7427 #42A236 #5DC451

Accessibility & contrast

On white

5.76
#2F7427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2F7427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7427
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7427#FFFFFF#000000##FFFFFF
##2F74271.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691E
Deuteranopia (green-blind)
#6E642E
Tritanopia (blue-blind)
#257064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7427;
/* rgb */ color: rgb(47, 116, 39);
/* oklch */ color: oklch(49.7% 0.131 141.6);
Tailwind
colors: {
  custom: {
    50: '#6f9d65',
    500: '#2f7427',
    950: '#000000',
  },
}
SCSS
$custom: #2f7427;
$custom-light: #6f9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7427",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 39
  },
  "hsl": {
    "h": 113.766,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4971,
    "c": 0.13131,
    "h": 141.6
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#2F7427
secondary
#9D50A6
accent
#4FD9CB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7427

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

Preview Lab → · Contrast checker → · Palette generator →

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