#277C1A#277C1A

#277C1A is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.154 H 141.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#277C1A
RGBrgb(39, 124, 26)
HSLhsl(112, 65%, 29%)
HSVhsv(112, 79%, 49%)
CMYKcmyk(68.5%, 0%, 79%, 51.4%)
CIE-LABlab(45.52, -43.99, 42.95)
CIE-LCHlch(45.52, 61.48, 135.68°)
OKLaboklab(51.59% -0.1202 0.0964)
OKLCHoklch(51.59% 0.154 141.3)
XYZxyz(8.2304, 14.9204, 3.4233)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277C1A #6F1A7C
analogous
#587C1A #277C1A #1A7C3E
triadic
#277C1A #1A277C #7C1A27
tetradic
#277C1A #1A587C #6F1A7C #7C3E1A
square
#277C1A #1A587C #6F1A7C #7C3E1A
split-complementary
#277C1A #3E1A7C #7C1A58
monochromatic
#081905 #17490F #277C1A #37AF25 #4FD63B

Accessibility & contrast

On white

5.27
#277C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277C1A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277C1A#FFFFFF#000000##FFFFFF
##277C1A1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#167869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #277c1a;
/* rgb */ color: rgb(39, 124, 26);
/* oklch */ color: oklch(51.6% 0.154 141.3);
Tailwind
colors: {
  custom: {
    50: '#6ea35e',
    500: '#277c1a',
    950: '#000000',
  },
}
SCSS
$custom: #277c1a;
$custom-light: #6ea35e;
$custom-dark: #000000;
JSON
{
  "hex": "#277c1a",
  "rgb": {
    "r": 39,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 112.041,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.15402,
    "h": 141.3
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#277C1A
secondary
#A242B0
accent
#40E8D2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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