#277A1B#277A1B

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

Color values

HEX#277A1B
RGBrgb(39, 122, 27)
HSLhsl(112, 64%, 29%)
HSVhsv(112, 78%, 48%)
CMYKcmyk(68%, 0%, 77.9%, 52.2%)
CIE-LABlab(44.84, -43.18, 41.92)
CIE-LCHlch(44.84, 60.18, 135.85°)
OKLaboklab(51.03% -0.1179 0.0943)
OKLCHoklch(51.03% 0.151 141.3)
XYZxyz(7.9936, 14.4287, 3.4005)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A1B #6E1B7A
analogous
#577A1B #277A1B #1B7A3F
triadic
#277A1B #1B277A #7A1B27
tetradic
#277A1B #1B577A #6E1B7A #7A3F1B
square
#277A1B #1B577A #6E1B7A #7A3F1B
split-complementary
#277A1B #3F1B7A #7A1B57
monochromatic
#081906 #174810 #277A1B #37AC26 #4FD43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277A1B#FFFFFF#000000##FFFFFF
##277A1B1.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)
#7D6E07
Deuteranopia (green-blind)
#736825
Tritanopia (blue-blind)
#177668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277a1b;
/* rgb */ color: rgb(39, 122, 27);
/* oklch */ color: oklch(51.0% 0.151 141.3);
Tailwind
colors: {
  custom: {
    50: '#6ea15f',
    500: '#277a1b',
    950: '#000000',
  },
}
SCSS
$custom: #277a1b;
$custom-light: #6ea15f;
$custom-dark: #000000;
JSON
{
  "hex": "#277a1b",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 112.421,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.15102,
    "h": 141.3
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#277A1B
secondary
#A143AE
accent
#41E7D2
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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