#277A1C#277A1C

#277A1C is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.150 H 141.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#277A1C
RGBrgb(39, 122, 28)
HSLhsl(113, 63%, 29%)
HSVhsv(113, 77%, 48%)
CMYKcmyk(68%, 0%, 77%, 52.2%)
CIE-LABlab(44.85, -43.10, 41.55)
CIE-LCHlch(44.85, 59.87, 136.05°)
OKLaboklab(51.04% -0.1177 0.0937)
OKLCHoklch(51.04% 0.15 141.5)
XYZxyz(8.0054, 14.4334, 3.4624)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A1C #6F1C7A
analogous
#567A1C #277A1C #1C7A40
triadic
#277A1C #1C277A #7A1C27
tetradic
#277A1C #1C567A #6F1C7A #7A401C
square
#277A1C #1C567A #6F1C7A #7A401C
split-complementary
#277A1C #401C7A #7A1C56
monochromatic
#081906 #174811 #277A1C #37AC27 #4FD33E

Accessibility & contrast

On white

5.40
#277A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#277A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277A1C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277A1C#FFFFFF#000000##FFFFFF
##277A1C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#736826
Tritanopia (blue-blind)
#177668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277a1c;
/* rgb */ color: rgb(39, 122, 28);
/* oklch */ color: oklch(51.0% 0.150 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ea15f',
    500: '#277a1c',
    950: '#000000',
  },
}
SCSS
$custom: #277a1c;
$custom-light: #6ea15f;
$custom-dark: #000000;
JSON
{
  "hex": "#277a1c",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 112.979,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.15042,
    "h": 141.5
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#277A1C
secondary
#A244AE
accent
#42E6D3
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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