#277717#277717

#277717 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.150 H 140.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#277717
RGBrgb(39, 119, 23)
HSLhsl(110, 68%, 28%)
HSVhsv(110, 81%, 47%)
CMYKcmyk(67.2%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.78, -42.38, 42.31)
CIE-LCHlch(43.78, 59.88, 135.04°)
OKLaboklab(50.14% -0.116 0.0946)
OKLCHoklch(50.14% 0.15 140.8)
XYZxyz(7.5878, 13.6861, 3.0523)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277717 #671777
analogous
#577717 #277717 #177737
triadic
#277717 #172777 #771727
tetradic
#277717 #175777 #671777 #773717
square
#277717 #175777 #671777 #773717
split-complementary
#277717 #371777 #771757
monochromatic
#081A05 #16440D #277717 #38AA21 #4DD731

Accessibility & contrast

On white

5.62
#277717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#277717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277717
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277717#FFFFFF#000000##FFFFFF
##2777171.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#197365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #277717;
/* rgb */ color: rgb(39, 119, 23);
/* oklch */ color: oklch(50.1% 0.150 140.8);
Tailwind
colors: {
  custom: {
    50: '#6d9f5c',
    500: '#277717',
    950: '#000000',
  },
}
SCSS
$custom: #277717;
$custom-light: #6d9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#277717",
  "rgb": {
    "r": 39,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 110,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5014,
    "c": 0.14964,
    "h": 140.8
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#277717
secondary
#9A3EAC
accent
#3DEACE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #277717

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

Preview Lab → · Contrast checker → · Palette generator →

#277717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva