#277B17#277B17

#277B17 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.154 H 140.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#277B17
RGBrgb(39, 123, 23)
HSLhsl(110, 68%, 29%)
HSVhsv(110, 81%, 48%)
CMYKcmyk(68.3%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.16, -43.84, 43.64)
CIE-LCHlch(45.16, 61.86, 135.13°)
OKLaboklab(51.29% -0.1199 0.0973)
OKLCHoklch(51.29% 0.154 140.9)
XYZxyz(8.0739, 14.6583, 3.2143)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B17 #6B177B
analogous
#597B17 #277B17 #177B39
triadic
#277B17 #17277B #7B1727
tetradic
#277B17 #17597B #6B177B #7B3917
square
#277B17 #17597B #6B177B #7B3917
split-complementary
#277B17 #39177B #7B1759
monochromatic
#081A05 #17470D #277B17 #37AF21 #4ED933

Accessibility & contrast

On white

5.34
#277B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#277B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277B17
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B17#FFFFFF#000000##FFFFFF
##277B171.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#177768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b17;
/* rgb */ color: rgb(39, 123, 23);
/* oklch */ color: oklch(51.3% 0.154 140.9);
Tailwind
colors: {
  custom: {
    50: '#6ea25d',
    500: '#277b17',
    950: '#000000',
  },
}
SCSS
$custom: #277b17;
$custom-light: #6ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#277b17",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 110.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.15445,
    "h": 140.9
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#277B17
secondary
#9E3EB0
accent
#3CEBCF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277B17

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

Preview Lab → · Contrast checker → · Palette generator →

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