#277F1A#277F1A

#277F1A is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.158 H 141.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#277F1A
RGBrgb(39, 127, 26)
HSLhsl(112, 66%, 30%)
HSVhsv(112, 80%, 50%)
CMYKcmyk(69.3%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.56, -45.07, 43.96)
CIE-LCHlch(46.56, 62.96, 135.71°)
OKLaboklab(52.45% -0.1231 0.0985)
OKLCHoklch(52.45% 0.158 141.3)
XYZxyz(8.6121, 15.6838, 3.5505)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F1A #721A7F
analogous
#5A7F1A #277F1A #1A7F3F
triadic
#277F1A #1A277F #7F1A27
tetradic
#277F1A #1A5A7F #721A7F #7F3F1A
square
#277F1A #1A5A7F #721A7F #7F3F1A
split-complementary
#277F1A #3F1A7F #7F1A5A
monochromatic
#081905 #174C10 #277F1A #37B224 #50D73C

Accessibility & contrast

On white

5.08
#277F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277F1A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F1A#FFFFFF#000000##FFFFFF
##277F1A1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827302
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#157B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f1a;
/* rgb */ color: rgb(39, 127, 26);
/* oklch */ color: oklch(52.4% 0.158 141.3);
Tailwind
colors: {
  custom: {
    50: '#6fa55f',
    500: '#277f1a',
    950: '#000000',
  },
}
SCSS
$custom: #277f1a;
$custom-light: #6fa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#277f1a",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 112.277,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.1576,
    "h": 141.3
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#277F1A
secondary
#A442B3
accent
#3FE9D3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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