#277818#277818

#277818 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.150 H 140.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#277818
RGBrgb(39, 120, 24)
HSLhsl(111, 67%, 28%)
HSVhsv(111, 80%, 47%)
CMYKcmyk(67.5%, 0%, 80%, 52.9%)
CIE-LABlab(44.13, -42.67, 42.30)
CIE-LCHlch(44.13, 60.09, 135.25°)
OKLaboklab(50.43% -0.1167 0.0947)
OKLCHoklch(50.43% 0.15 140.9)
XYZxyz(7.7176, 13.9295, 3.1459)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277818 #691878
analogous
#577818 #277818 #187839
triadic
#277818 #182778 #781827
tetradic
#277818 #185778 #691878 #783918
square
#277818 #185778 #691878 #783918
split-complementary
#277818 #391878 #781857
monochromatic
#081A05 #16450E #277818 #38AB22 #4DD634

Accessibility & contrast

On white

5.55
#277818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#277818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277818
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277818#FFFFFF#000000##FFFFFF
##2778181.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#187466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #277818;
/* rgb */ color: rgb(39, 120, 24);
/* oklch */ color: oklch(50.4% 0.150 140.9);
Tailwind
colors: {
  custom: {
    50: '#6da05d',
    500: '#277818',
    950: '#000000',
  },
}
SCSS
$custom: #277818;
$custom-light: #6da05d;
$custom-dark: #000000;
JSON
{
  "hex": "#277818",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 110.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.15031,
    "h": 140.9
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#277818
secondary
#9C3FAD
accent
#3EEACF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #277818

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

Preview Lab → · Contrast checker → · Palette generator →

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