#277A1F#277A1F

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

Color values

HEX#277A1F
RGBrgb(39, 122, 31)
HSLhsl(115, 59%, 30%)
HSVhsv(115, 75%, 48%)
CMYKcmyk(68%, 0%, 74.6%, 52.2%)
CIE-LABlab(44.87, -42.85, 40.40)
CIE-LCHlch(44.87, 58.89, 136.69°)
OKLaboklab(51.06% -0.1168 0.0917)
OKLCHoklch(51.06% 0.149 141.9)
XYZxyz(8.0431, 14.4485, 3.6610)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A1F #721F7A
analogous
#557A1F #277A1F #1F7A44
triadic
#277A1F #1F277A #7A1F27
tetradic
#277A1F #1F557A #721F7A #7A441F
square
#277A1F #1F557A #721F7A #7A441F
split-complementary
#277A1F #441F7A #7A1F55
monochromatic
#081806 #174913 #277A1F #37AB2B #50CF44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277A1F#FFFFFF#000000##FFFFFF
##277A1F1.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)
#7D6E0F
Deuteranopia (green-blind)
#736828
Tritanopia (blue-blind)
#167668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277a1f;
/* rgb */ color: rgb(39, 122, 31);
/* oklch */ color: oklch(51.1% 0.149 141.9);
Tailwind
colors: {
  custom: {
    50: '#6da161',
    500: '#277a1f',
    950: '#000000',
  },
}
SCSS
$custom: #277a1f;
$custom-light: #6da161;
$custom-dark: #000000;
JSON
{
  "hex": "#277a1f",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 114.725,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.14852,
    "h": 141.9
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#277A1F
secondary
#A447AD
accent
#45E3D5
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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