#277F1F#277F1F

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

Color values

HEX#277F1F
RGBrgb(39, 127, 31)
HSLhsl(115, 61%, 31%)
HSVhsv(115, 76%, 50%)
CMYKcmyk(69.3%, 0%, 75.6%, 50.2%)
CIE-LABlab(46.59, -44.68, 42.15)
CIE-LCHlch(46.59, 61.42, 136.67°)
OKLaboklab(52.49% -0.1217 0.0954)
OKLCHoklch(52.49% 0.155 141.9)
XYZxyz(8.6729, 15.7081, 3.8710)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F1F #771F7F
analogous
#577F1F #277F1F #1F7F47
triadic
#277F1F #1F277F #7F1F27
tetradic
#277F1F #1F577F #771F7F #7F471F
square
#277F1F #1F577F #771F7F #7F471F
split-complementary
#277F1F #471F7F #7F1F57
monochromatic
#091D07 #184E13 #277F1F #36B02B #52D246

Accessibility & contrast

On white

5.07
#277F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#277F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277F1F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F1F#FFFFFF#000000##FFFFFF
##277F1F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#137B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f1f;
/* rgb */ color: rgb(39, 127, 31);
/* oklch */ color: oklch(52.5% 0.155 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fa561',
    500: '#277f1f',
    950: '#000000',
  },
}
SCSS
$custom: #277f1f;
$custom-light: #6fa561;
$custom-dark: #000000;
JSON
{
  "hex": "#277f1f",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 115,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.15467,
    "h": 141.9
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#277F1F
secondary
#A948B2
accent
#44E4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #277F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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