#277A4E#277A4E

#277A4E is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.8% C 0.106 H 156.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#277A4E
RGBrgb(39, 122, 78)
HSLhsl(148, 52%, 32%)
HSVhsv(148, 68%, 48%)
CMYKcmyk(68%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.50, -35.74, 17.02)
CIE-LCHlch(45.50, 39.59, 154.54°)
OKLaboklab(51.78% -0.0969 0.0428)
OKLCHoklch(51.78% 0.106 156.2)
XYZxyz(9.1706, 14.8995, 9.5988)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A4E #7A2753
analogous
#2A7A27 #277A4E #277A78
triadic
#277A4E #4E277A #7A4E27
tetradic
#277A4E #272A7A #7A2753 #7A7827
square
#277A4E #272A7A #7A2753 #7A7827
split-complementary
#277A4E #78277A #7A272A
monochromatic
#091D13 #184C30 #277A4E #36A86C #53C88A

Accessibility & contrast

On white

5.28
#277A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#277A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277A4E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277A4E#FFFFFF#000000##FFFFFF
##277A4E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #277a4e;
/* rgb */ color: rgb(39, 122, 78);
/* oklch */ color: oklch(51.8% 0.106 156.2);
Tailwind
colors: {
  custom: {
    50: '#6ca180',
    500: '#277a4e',
    950: '#000000',
  },
}
SCSS
$custom: #277a4e;
$custom-light: #6ca180;
$custom-dark: #000000;
JSON
{
  "hex": "#277a4e",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 148.193,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51781,
    "c": 0.10597,
    "h": 156.2
  },
  "luminance": 0.149
}

Semantic roles & 50–950 ramp

primary
#277A4E
secondary
#AC5181
accent
#4D98DB
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #277A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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