#277E1A#277E1A

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

Color values

HEX#277E1A
RGBrgb(39, 126, 26)
HSLhsl(112, 66%, 30%)
HSVhsv(112, 79%, 49%)
CMYKcmyk(69%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.21, -44.71, 43.63)
CIE-LCHlch(46.21, 62.47, 135.70°)
OKLaboklab(52.16% -0.1221 0.0978)
OKLCHoklch(52.16% 0.156 141.3)
XYZxyz(8.4836, 15.4267, 3.5077)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277E1A #711A7E
analogous
#597E1A #277E1A #1A7E3F
triadic
#277E1A #1A277E #7E1A27
tetradic
#277E1A #1A597E #711A7E #7E3F1A
square
#277E1A #1A597E #711A7E #7E3F1A
split-complementary
#277E1A #3F1A7E #7E1A59
monochromatic
#081905 #174B10 #277E1A #37B124 #50D73C

Accessibility & contrast

On white

5.14
#277E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#277E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277E1A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277E1A#FFFFFF#000000##FFFFFF
##277E1A1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#157A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277e1a;
/* rgb */ color: rgb(39, 126, 26);
/* oklch */ color: oklch(52.2% 0.156 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa45f',
    500: '#277e1a',
    950: '#000000',
  },
}
SCSS
$custom: #277e1a;
$custom-light: #6fa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#277e1a",
  "rgb": {
    "r": 39,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 112.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.15641,
    "h": 141.3
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#277E1A
secondary
#A342B2
accent
#3FE9D3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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