#277918#277918

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

Color values

HEX#277918
RGBrgb(39, 121, 24)
HSLhsl(111, 67%, 28%)
HSVhsv(111, 80%, 47%)
CMYKcmyk(67.8%, 0%, 80.2%, 52.5%)
CIE-LABlab(44.48, -43.04, 42.64)
CIE-LCHlch(44.48, 60.59, 135.27°)
OKLaboklab(50.72% -0.1177 0.0954)
OKLCHoklch(50.72% 0.152 141)
XYZxyz(7.8385, 14.1712, 3.1862)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277918 #6A1879
analogous
#577918 #277918 #187939
triadic
#277918 #182779 #791827
tetradic
#277918 #185779 #6A1879 #793918
square
#277918 #185779 #6A1879 #793918
split-complementary
#277918 #391879 #791857
monochromatic
#081A05 #17460E #277918 #37AC22 #4ED735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277918#FFFFFF#000000##FFFFFF
##2779181.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)
#7C6D01
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#187567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #277918;
/* rgb */ color: rgb(39, 121, 24);
/* oklch */ color: oklch(50.7% 0.152 141.0);
Tailwind
colors: {
  custom: {
    50: '#6ea15d',
    500: '#277918',
    950: '#000000',
  },
}
SCSS
$custom: #277918;
$custom-light: #6ea15d;
$custom-dark: #000000;
JSON
{
  "hex": "#277918",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 110.722,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.15152,
    "h": 141
  },
  "luminance": 0.14172
}

Semantic roles & 50–950 ramp

primary
#277918
secondary
#9D3FAE
accent
#3EEACF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277918

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

Preview Lab → · Contrast checker → · Palette generator →

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