#277E1B#277E1B

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

Color values

HEX#277E1B
RGBrgb(39, 126, 27)
HSLhsl(113, 65%, 30%)
HSVhsv(113, 79%, 49%)
CMYKcmyk(69%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.22, -44.64, 43.28)
CIE-LCHlch(46.22, 62.17, 135.89°)
OKLaboklab(52.17% -0.1218 0.0972)
OKLCHoklch(52.17% 0.156 141.4)
XYZxyz(8.4949, 15.4313, 3.5676)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277E1B #721B7E
analogous
#597E1B #277E1B #1B7E40
triadic
#277E1B #1B277E #7E1B27
tetradic
#277E1B #1B597E #721B7E #7E401B
square
#277E1B #1B597E #721B7E #7E401B
split-complementary
#277E1B #401B7E #7E1B59
monochromatic
#081905 #174C10 #277E1B #37B026 #50D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277E1B#FFFFFF#000000##FFFFFF
##277E1B1.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)
#817205
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#157A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277e1b;
/* rgb */ color: rgb(39, 126, 27);
/* oklch */ color: oklch(52.2% 0.156 141.4);
Tailwind
colors: {
  custom: {
    50: '#6fa45f',
    500: '#277e1b',
    950: '#000000',
  },
}
SCSS
$custom: #277e1b;
$custom-light: #6fa45f;
$custom-dark: #000000;
JSON
{
  "hex": "#277e1b",
  "rgb": {
    "r": 39,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 112.727,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.15585,
    "h": 141.4
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#277E1B
secondary
#A443B2
accent
#40E8D3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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