#277A17#277A17

#277A17 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.153 H 140.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#277A17
RGBrgb(39, 122, 23)
HSLhsl(110, 68%, 28%)
HSVhsv(110, 81%, 48%)
CMYKcmyk(68%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.82, -43.47, 43.31)
CIE-LCHlch(44.82, 61.37, 135.11°)
OKLaboklab(51% -0.1189 0.0967)
OKLCHoklch(51% 0.153 140.9)
XYZxyz(7.9505, 14.4115, 3.1731)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A17 #6A177A
analogous
#587A17 #277A17 #177A38
triadic
#277A17 #17277A #7A1727
tetradic
#277A17 #17587A #6A177A #7A3817
square
#277A17 #17587A #6A177A #7A3817
split-complementary
#277A17 #38177A #7A1758
monochromatic
#081A05 #17470D #277A17 #37AD21 #4ED933

Accessibility & contrast

On white

5.41
#277A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#277A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277A17
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277A17#FFFFFF#000000##FFFFFF
##277A171.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#187668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277a17;
/* rgb */ color: rgb(39, 122, 23);
/* oklch */ color: oklch(51.0% 0.153 140.9);
Tailwind
colors: {
  custom: {
    50: '#6ea15d',
    500: '#277a17',
    950: '#000000',
  },
}
SCSS
$custom: #277a17;
$custom-light: #6ea15d;
$custom-dark: #000000;
JSON
{
  "hex": "#277a17",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 110.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51,
    "c": 0.15325,
    "h": 140.9
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#277A17
secondary
#9D3EAF
accent
#3DEBCF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #277A17

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

Preview Lab → · Contrast checker → · Palette generator →

#277A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva