#277D17#277D17

#277D17 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.157 H 141.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#277D17
RGBrgb(39, 125, 23)
HSLhsl(111, 69%, 29%)
HSVhsv(111, 82%, 49%)
CMYKcmyk(68.8%, 0%, 81.6%, 51%)
CIE-LABlab(45.85, -44.56, 44.30)
CIE-LCHlch(45.85, 62.83, 135.17°)
OKLaboklab(51.86% -0.1218 0.0987)
OKLCHoklch(51.86% 0.157 141)
XYZxyz(8.3245, 15.1596, 3.2978)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D17 #6D177D
analogous
#5A7D17 #277D17 #177D3A
triadic
#277D17 #17277D #7D1727
tetradic
#277D17 #175A7D #6D177D #7D3A17
square
#277D17 #175A7D #6D177D #7D3A17
split-complementary
#277D17 #3A177D #7D175A
monochromatic
#081A05 #17490D #277D17 #37B121 #4FDA35

Accessibility & contrast

On white

5.21
#277D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#277D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277D17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277D17#FFFFFF#000000##FFFFFF
##277D171.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#16796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d17;
/* rgb */ color: rgb(39, 125, 23);
/* oklch */ color: oklch(51.9% 0.157 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa45d',
    500: '#277d17',
    950: '#000000',
  },
}
SCSS
$custom: #277d17;
$custom-light: #6fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#277d17",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 110.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.15682,
    "h": 141
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#277D17
secondary
#A03EB2
accent
#3CECD0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277D17

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

Preview Lab → · Contrast checker → · Palette generator →

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