#277B1A#277B1A

#277B1A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.153 H 141.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#277B1A
RGBrgb(39, 123, 26)
HSLhsl(112, 65%, 29%)
HSVhsv(112, 79%, 48%)
CMYKcmyk(68.3%, 0%, 78.9%, 51.8%)
CIE-LABlab(45.18, -43.62, 42.62)
CIE-LCHlch(45.18, 60.99, 135.67°)
OKLaboklab(51.31% -0.1192 0.0957)
OKLCHoklch(51.31% 0.153 141.3)
XYZxyz(8.1057, 14.6710, 3.3817)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B1A #6E1A7B
analogous
#587B1A #277B1A #1A7B3E
triadic
#277B1A #1A277B #7B1A27
tetradic
#277B1A #1A587B #6E1A7B #7B3E1A
square
#277B1A #1A587B #6E1A7B #7B3E1A
split-complementary
#277B1A #3E1A7B #7B1A58
monochromatic
#081905 #17480F #277B1A #37AE25 #4FD53A

Accessibility & contrast

On white

5.34
#277B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#277B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277B1A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B1A#FFFFFF#000000##FFFFFF
##277B1A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#177769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b1a;
/* rgb */ color: rgb(39, 123, 26);
/* oklch */ color: oklch(51.3% 0.153 141.3);
Tailwind
colors: {
  custom: {
    50: '#6ea25e',
    500: '#277b1a',
    950: '#000000',
  },
}
SCSS
$custom: #277b1a;
$custom-light: #6ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#277b1a",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 111.959,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.15282,
    "h": 141.3
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #277B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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