#277B4F#277B4F

#277B4F is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.106 H 156.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#277B4F
RGBrgb(39, 123, 79)
HSLhsl(149, 52%, 32%)
HSVhsv(149, 68%, 48%)
CMYKcmyk(68.3%, 0%, 35.8%, 51.8%)
CIE-LABlab(45.85, -35.96, 16.92)
CIE-LCHlch(45.85, 39.74, 154.80°)
OKLaboklab(52.08% -0.0975 0.0426)
OKLCHoklch(52.08% 0.106 156.4)
XYZxyz(9.3301, 15.1608, 9.8302)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B4F #7B2753
analogous
#297B27 #277B4F #277B79
triadic
#277B4F #4F277B #7B4F27
tetradic
#277B4F #27297B #7B2753 #7B7927
square
#277B4F #27297B #7B2753 #7B7927
split-complementary
#277B4F #79277B #7B2729
monochromatic
#0A1E13 #184D31 #277B4F #36A96D #54C98B

Accessibility & contrast

On white

5.21
#277B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#277B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277B4F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B4F#FFFFFF#000000##FFFFFF
##277B4F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714C
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277b4f;
/* rgb */ color: rgb(39, 123, 79);
/* oklch */ color: oklch(52.1% 0.106 156.4);
Tailwind
colors: {
  custom: {
    50: '#6ca280',
    500: '#277b4f',
    950: '#000000',
  },
}
SCSS
$custom: #277b4f;
$custom-light: #6ca280;
$custom-dark: #000000;
JSON
{
  "hex": "#277b4f",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 148.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52081,
    "c": 0.10645,
    "h": 156.4
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#277B4F
secondary
#AD5181
accent
#4C97DB
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #277B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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