#277C42#277C42

#277C42 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.121 H 150.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#277C42
RGBrgb(39, 124, 66)
HSLhsl(139, 52%, 32%)
HSVhsv(139, 69%, 49%)
CMYKcmyk(68.5%, 0%, 46.8%, 51.4%)
CIE-LABlab(45.96, -38.94, 24.41)
CIE-LCHlch(45.96, 45.96, 147.92°)
OKLaboklab(52.09% -0.105 0.06)
OKLCHoklch(52.09% 0.121 150.3)
XYZxyz(9.0270, 15.2390, 7.6189)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277C42 #7C2761
analogous
#377C27 #277C42 #277C6D
triadic
#277C42 #42277C #7C4227
tetradic
#277C42 #27377C #7C2761 #7C6D27
square
#277C42 #27377C #7C2761 #7C6D27
split-complementary
#277C42 #6D277C #7C2737
monochromatic
#0A1F10 #184D29 #277C42 #36AB5B #54C979

Accessibility & contrast

On white

5.19
#277C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#277C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277C42
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277C42#FFFFFF#000000##FFFFFF
##277C421.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713E
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#017A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277c42;
/* rgb */ color: rgb(39, 124, 66);
/* oklch */ color: oklch(52.1% 0.121 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ca377',
    500: '#277c42',
    950: '#000000',
  },
}
SCSS
$custom: #277c42;
$custom-light: #6ca377;
$custom-dark: #000000;
JSON
{
  "hex": "#277c42",
  "rgb": {
    "r": 39,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 139.059,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52092,
    "c": 0.12093,
    "h": 150.3
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#277C42
secondary
#AE5190
accent
#4CAEDC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #277C42

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

Preview Lab → · Contrast checker → · Palette generator →

#277C42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva