#27771B#27771B

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

Color values

HEX#27771B
RGBrgb(39, 119, 27)
HSLhsl(112, 63%, 29%)
HSVhsv(112, 77%, 47%)
CMYKcmyk(67.2%, 0%, 77.3%, 53.3%)
CIE-LABlab(43.80, -42.08, 40.88)
CIE-LCHlch(43.80, 58.67, 135.82°)
OKLaboklab(50.17% -0.1149 0.0922)
OKLCHoklch(50.17% 0.147 141.3)
XYZxyz(7.6310, 13.7034, 3.2796)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27771B #6B1B77
analogous
#55771B #27771B #1B773D
triadic
#27771B #1B2777 #771B27
tetradic
#27771B #1B5577 #6B1B77 #773D1B
square
#27771B #1B5577 #6B1B77 #773D1B
split-complementary
#27771B #3D1B77 #771B55
monochromatic
#081906 #174510 #27771B #37A926 #4ED23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##27771B#FFFFFF#000000##FFFFFF
##27771B1.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)
#7A6B08
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#187365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #27771b;
/* rgb */ color: rgb(39, 119, 27);
/* oklch */ color: oklch(50.2% 0.147 141.3);
Tailwind
colors: {
  custom: {
    50: '#6d9f5e',
    500: '#27771b',
    950: '#000000',
  },
}
SCSS
$custom: #27771b;
$custom-light: #6d9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#27771b",
  "rgb": {
    "r": 39,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 112.174,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.14734,
    "h": 141.3
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#27771B
secondary
#9E42AB
accent
#42E6D1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #27771B

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

Preview Lab → · Contrast checker → · Palette generator →

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