#27771A#27771A

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

Color values

HEX#27771A
RGBrgb(39, 119, 26)
HSLhsl(112, 64%, 28%)
HSVhsv(112, 78%, 47%)
CMYKcmyk(67.2%, 0%, 78.2%, 53.3%)
CIE-LABlab(43.80, -42.16, 41.25)
CIE-LCHlch(43.80, 58.98, 135.62°)
OKLaboklab(50.16% -0.1152 0.0928)
OKLCHoklch(50.16% 0.148 141.1)
XYZxyz(7.6196, 13.6988, 3.2197)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27771A #6A1A77
analogous
#55771A #27771A #1A773B
triadic
#27771A #1A2777 #771A27
tetradic
#27771A #1A5577 #6A1A77 #773B1A
square
#27771A #1A5577 #6A1A77 #773B1A
split-complementary
#27771A #3B1A77 #771A55
monochromatic
#081905 #17450F #27771A #37A925 #4ED338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27771A#FFFFFF#000000##FFFFFF
##27771A1.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)
#7A6B06
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#197365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #27771a;
/* rgb */ color: rgb(39, 119, 26);
/* oklch */ color: oklch(50.2% 0.148 141.1);
Tailwind
colors: {
  custom: {
    50: '#6d9f5e',
    500: '#27771a',
    950: '#000000',
  },
}
SCSS
$custom: #27771a;
$custom-light: #6d9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#27771a",
  "rgb": {
    "r": 39,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 111.613,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50161,
    "c": 0.14794,
    "h": 141.1
  },
  "luminance": 0.137
}

Semantic roles & 50–950 ramp

primary
#27771A
secondary
#9D41AC
accent
#41E7D0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #27771A

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

Preview Lab → · Contrast checker → · Palette generator →

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