#277A40#277A40

#277A40 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.120 H 149.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#277A40
RGBrgb(39, 122, 64)
HSLhsl(138, 52%, 32%)
HSVhsv(138, 68%, 48%)
CMYKcmyk(68%, 0%, 47.5%, 52.2%)
CIE-LABlab(45.25, -38.48, 24.61)
CIE-LCHlch(45.25, 45.68, 147.40°)
OKLaboklab(51.5% -0.1038 0.0603)
OKLCHoklch(51.5% 0.12 149.8)
XYZxyz(8.7210, 14.7197, 7.2311)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A40 #7A2761
analogous
#387A27 #277A40 #277A6A
triadic
#277A40 #40277A #7A4027
tetradic
#277A40 #27387A #7A2761 #7A6A27
square
#277A40 #27387A #7A2761 #7A6A27
split-complementary
#277A40 #6A277A #7A2738
monochromatic
#091D0F #184C28 #277A40 #36A858 #53C876

Accessibility & contrast

On white

5.32
#277A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#277A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277A40
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277A40#FFFFFF#000000##FFFFFF
##277A401.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F3C
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#05786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277a40;
/* rgb */ color: rgb(39, 122, 64);
/* oklch */ color: oklch(51.5% 0.120 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ca176',
    500: '#277a40',
    950: '#000000',
  },
}
SCSS
$custom: #277a40;
$custom-light: #6ca176;
$custom-dark: #000000;
JSON
{
  "hex": "#277a40",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 138.072,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.12005,
    "h": 149.8
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#277A40
secondary
#AC5191
accent
#4DB0DB
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #277A40

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

Preview Lab → · Contrast checker → · Palette generator →

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