#277728#277728

#277728 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.138 H 143.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#277728
RGBrgb(39, 119, 40)
HSLhsl(121, 51%, 31%)
HSVhsv(121, 67%, 47%)
CMYKcmyk(67.2%, 0%, 66.4%, 53.3%)
CIE-LABlab(43.91, -40.81, 35.43)
CIE-LCHlch(43.91, 54.04, 139.04°)
OKLaboklab(50.29% -0.1108 0.0824)
OKLCHoklch(50.29% 0.138 143.4)
XYZxyz(7.8161, 13.7774, 4.2545)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277728 #772776
analogous
#4E7727 #277728 #277750
triadic
#277728 #282777 #772827
tetradic
#277728 #274E77 #772776 #775027
square
#277728 #274E77 #772776 #775027
split-complementary
#277728 #502777 #77274E
monochromatic
#091B09 #184919 #277728 #36A537 #52C654

Accessibility & contrast

On white

5.59
#277728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#277728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277728
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277728#FFFFFF#000000##FFFFFF
##2777281.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1F
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#157466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #277728;
/* rgb */ color: rgb(39, 119, 40);
/* oklch */ color: oklch(50.3% 0.138 143.4);
Tailwind
colors: {
  custom: {
    50: '#6c9f65',
    500: '#277728',
    950: '#000000',
  },
}
SCSS
$custom: #277728;
$custom-light: #6c9f65;
$custom-dark: #000000;
JSON
{
  "hex": "#277728",
  "rgb": {
    "r": 39,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 120.75,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.13807,
    "h": 143.4
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#277728
secondary
#A951A8
accent
#4ED8DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #277728

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

Preview Lab → · Contrast checker → · Palette generator →

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