#277E1F#277E1F

#277E1F is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.153 H 141.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#277E1F
RGBrgb(39, 126, 31)
HSLhsl(115, 61%, 31%)
HSVhsv(115, 75%, 49%)
CMYKcmyk(69%, 0%, 75.4%, 50.6%)
CIE-LABlab(46.25, -44.32, 41.80)
CIE-LCHlch(46.25, 60.92, 136.67°)
OKLaboklab(52.2% -0.1208 0.0947)
OKLCHoklch(52.2% 0.153 141.9)
XYZxyz(8.5444, 15.4511, 3.8281)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277E1F #761F7E
analogous
#567E1F #277E1F #1F7E46
triadic
#277E1F #1F277E #7E1F27
tetradic
#277E1F #1F567E #761F7E #7E461F
square
#277E1F #1F567E #761F7E #7E461F
split-complementary
#277E1F #461F7E #7E1F56
monochromatic
#091C07 #184D13 #277E1F #36AF2B #52D146

Accessibility & contrast

On white

5.13
#277E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277E1F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277E1F#FFFFFF#000000##FFFFFF
##277E1F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#147A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277e1f;
/* rgb */ color: rgb(39, 126, 31);
/* oklch */ color: oklch(52.2% 0.153 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ea461',
    500: '#277e1f',
    950: '#000000',
  },
}
SCSS
$custom: #277e1f;
$custom-light: #6ea461;
$custom-dark: #000000;
JSON
{
  "hex": "#277e1f",
  "rgb": {
    "r": 39,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 114.947,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.522,
    "c": 0.15345,
    "h": 141.9
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#277E1F
secondary
#A848B1
accent
#44E4D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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