#277917#277917

#277917 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.152 H 140.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#277917
RGBrgb(39, 121, 23)
HSLhsl(110, 68%, 28%)
HSVhsv(110, 81%, 47%)
CMYKcmyk(67.8%, 0%, 81%, 52.5%)
CIE-LABlab(44.47, -43.11, 42.98)
CIE-LCHlch(44.47, 60.87, 135.09°)
OKLaboklab(50.71% -0.1179 0.096)
OKLCHoklch(50.71% 0.152 140.9)
XYZxyz(7.8283, 14.1672, 3.1324)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277917 #691779
analogous
#587917 #277917 #177938
triadic
#277917 #172779 #791727
tetradic
#277917 #175879 #691779 #793817
square
#277917 #175879 #691779 #793817
split-complementary
#277917 #381779 #791758
monochromatic
#081A05 #16460D #277917 #38AC21 #4DD832

Accessibility & contrast

On white

5.48
#277917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#277917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277917
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277917#FFFFFF#000000##FFFFFF
##2779171.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#187567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #277917;
/* rgb */ color: rgb(39, 121, 23);
/* oklch */ color: oklch(50.7% 0.152 140.9);
Tailwind
colors: {
  custom: {
    50: '#6ea15d',
    500: '#277917',
    950: '#000000',
  },
}
SCSS
$custom: #277917;
$custom-light: #6ea15d;
$custom-dark: #000000;
JSON
{
  "hex": "#277917",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 110.204,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50714,
    "c": 0.15205,
    "h": 140.9
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#277917
secondary
#9C3EAE
accent
#3DEBCF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #277917

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

Preview Lab → · Contrast checker → · Palette generator →

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