#27771F#27771F

#27771F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.145 H 141.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#27771F
RGBrgb(39, 119, 31)
HSLhsl(115, 59%, 29%)
HSVhsv(115, 74%, 47%)
CMYKcmyk(67.2%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.83, -41.74, 39.33)
CIE-LCHlch(43.83, 57.35, 136.70°)
OKLaboklab(50.2% -0.1138 0.0895)
OKLCHoklch(50.2% 0.145 141.8)
XYZxyz(7.6804, 13.7231, 3.5401)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27771F #6F1F77
analogous
#53771F #27771F #1F7743
triadic
#27771F #1F2777 #771F27
tetradic
#27771F #1F5377 #6F1F77 #77431F
square
#27771F #1F5377 #6F1F77 #77431F
split-complementary
#27771F #431F77 #771F53
monochromatic
#081806 #174612 #27771F #37A82C #4FCE43

Accessibility & contrast

On white

5.61
#27771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#27771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #27771F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27771F#FFFFFF#000000##FFFFFF
##27771F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#187366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #27771f;
/* rgb */ color: rgb(39, 119, 31);
/* oklch */ color: oklch(50.2% 0.145 141.8);
Tailwind
colors: {
  custom: {
    50: '#6d9f60',
    500: '#27771f',
    950: '#000000',
  },
}
SCSS
$custom: #27771f;
$custom-light: #6d9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#27771f",
  "rgb": {
    "r": 39,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 114.545,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.14476,
    "h": 141.8
  },
  "luminance": 0.13724
}

Semantic roles & 50–950 ramp

primary
#27771F
secondary
#A247AB
accent
#46E2D4
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #27771F

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

Preview Lab → · Contrast checker → · Palette generator →

#27771F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva