#277940#277940

#277940 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.2% C 0.119 H 150.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#277940
RGBrgb(39, 121, 64)
HSLhsl(138, 51%, 31%)
HSVhsv(138, 68%, 47%)
CMYKcmyk(67.8%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.91, -38.07, 24.17)
CIE-LCHlch(44.91, 45.10, 147.59°)
OKLaboklab(51.21% -0.1027 0.0593)
OKLCHoklch(51.21% 0.119 150)
XYZxyz(8.5988, 14.4754, 7.1904)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277940 #792760
analogous
#377927 #277940 #277969
triadic
#277940 #402779 #794027
tetradic
#277940 #273779 #792760 #796927
square
#277940 #273779 #792760 #796927
split-complementary
#277940 #692779 #792737
monochromatic
#091C0F #184B28 #277940 #36A758 #53C876

Accessibility & contrast

On white

5.39
#277940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#277940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277940
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277940#FFFFFF#000000##FFFFFF
##2779401.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#05776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277940;
/* rgb */ color: rgb(39, 121, 64);
/* oklch */ color: oklch(51.2% 0.119 150.0);
Tailwind
colors: {
  custom: {
    50: '#6ca076',
    500: '#277940',
    950: '#000000',
  },
}
SCSS
$custom: #277940;
$custom-light: #6ca076;
$custom-dark: #000000;
JSON
{
  "hex": "#277940",
  "rgb": {
    "r": 39,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 138.293,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.1186,
    "h": 150
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#277940
secondary
#AB5190
accent
#4DB0DB
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #277940

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

Preview Lab → · Contrast checker → · Palette generator →

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