#277F17#277F17

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

Color values

HEX#277F17
RGBrgb(39, 127, 23)
HSLhsl(111, 69%, 29%)
HSVhsv(111, 82%, 50%)
CMYKcmyk(69.3%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.54, -45.27, 44.95)
CIE-LCHlch(46.54, 63.80, 135.20°)
OKLaboklab(52.43% -0.1238 0.1001)
OKLCHoklch(52.43% 0.159 141)
XYZxyz(8.5803, 15.6711, 3.3831)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F17 #6F177F
analogous
#5B7F17 #277F17 #177F3B
triadic
#277F17 #17277F #7F1727
tetradic
#277F17 #175B7F #6F177F #7F3B17
square
#277F17 #175B7F #6F177F #7F3B17
split-complementary
#277F17 #3B177F #7F175B
monochromatic
#081A05 #174B0E #277F17 #37B320 #4FDB36

Accessibility & contrast

On white

5.08
#277F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#277F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277F17
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F17#FFFFFF#000000##FFFFFF
##277F171.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#157B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f17;
/* rgb */ color: rgb(39, 127, 23);
/* oklch */ color: oklch(52.4% 0.159 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa55e',
    500: '#277f17',
    950: '#000000',
  },
}
SCSS
$custom: #277f17;
$custom-light: #6fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#277f17",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 110.769,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.15917,
    "h": 141
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#277F17
secondary
#A23EB4
accent
#3CECD1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277F17

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

Preview Lab → · Contrast checker → · Palette generator →

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