#277217#277217

#277217 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.144 H 140.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#277217
RGBrgb(39, 114, 23)
HSLhsl(109, 66%, 27%)
HSVhsv(109, 80%, 45%)
CMYKcmyk(65.8%, 0%, 79.8%, 55.3%)
CIE-LABlab(42.04, -40.51, 40.63)
CIE-LCHlch(42.04, 57.38, 134.92°)
OKLaboklab(48.7% -0.1109 0.0911)
OKLCHoklch(48.7% 0.144 140.6)
XYZxyz(7.0083, 12.5271, 2.8591)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277217 #621772
analogous
#557217 #277217 #177235
triadic
#277217 #172772 #721727
tetradic
#277217 #175572 #621772 #723517
square
#277217 #175572 #621772 #723517
split-complementary
#277217 #351772 #721755
monochromatic
#091905 #163F0D #277217 #38A521 #4CD52E

Accessibility & contrast

On white

5.99
#277217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#277217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277217
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277217#FFFFFF#000000##FFFFFF
##2772171.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#1B6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #277217;
/* rgb */ color: rgb(39, 114, 23);
/* oklch */ color: oklch(48.7% 0.144 140.6);
Tailwind
colors: {
  custom: {
    50: '#6c9b5c',
    500: '#277217',
    950: '#000000',
  },
}
SCSS
$custom: #277217;
$custom-light: #6c9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#277217",
  "rgb": {
    "r": 39,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 109.451,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.14353,
    "h": 140.6
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#277217
secondary
#953DA8
accent
#3EE9CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #277217

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

Preview Lab → · Contrast checker → · Palette generator →

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