#277540#277540

#277540 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.1% C 0.113 H 150.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#277540
RGBrgb(39, 117, 64)
HSLhsl(139, 50%, 31%)
HSVhsv(139, 67%, 46%)
CMYKcmyk(66.7%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.54, -36.41, 22.42)
CIE-LCHlch(43.54, 42.75, 148.38°)
OKLaboklab(50.09% -0.0983 0.0553)
OKLCHoklch(50.09% 0.113 150.6)
XYZxyz(8.1228, 13.5232, 7.0317)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277540 #75275C
analogous
#357527 #277540 #277567
triadic
#277540 #402775 #754027
tetradic
#277540 #273575 #75275C #756727
square
#277540 #273575 #75275C #756727
split-complementary
#277540 #672775 #752735
monochromatic
#08190E #184727 #277540 #36A359 #51C576

Accessibility & contrast

On white

5.67
#277540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#277540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277540
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277540#FFFFFF#000000##FFFFFF
##2775401.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B3C
Deuteranopia (green-blind)
#6C6444
Tritanopia (blue-blind)
#097368
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #277540;
/* rgb */ color: rgb(39, 117, 64);
/* oklch */ color: oklch(50.1% 0.113 150.6);
Tailwind
colors: {
  custom: {
    50: '#6b9d75',
    500: '#277540',
    950: '#000000',
  },
}
SCSS
$custom: #277540;
$custom-light: #6b9d75;
$custom-dark: #000000;
JSON
{
  "hex": "#277540",
  "rgb": {
    "r": 39,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 139.231,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.11276,
    "h": 150.6
  },
  "luminance": 0.13524
}

Semantic roles & 50–950 ramp

primary
#277540
secondary
#A7518B
accent
#4EADDA
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #277540

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

Preview Lab → · Contrast checker → · Palette generator →

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