#277F1B#277F1B

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

Color values

HEX#277F1B
RGBrgb(39, 127, 27)
HSLhsl(113, 65%, 30%)
HSVhsv(113, 79%, 50%)
CMYKcmyk(69.3%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.56, -44.99, 43.61)
CIE-LCHlch(46.56, 62.66, 135.89°)
OKLaboklab(52.45% -0.1228 0.0979)
OKLCHoklch(52.45% 0.157 141.5)
XYZxyz(8.6234, 15.6883, 3.6104)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F1B #731B7F
analogous
#597F1B #277F1B #1B7F41
triadic
#277F1B #1B277F #7F1B27
tetradic
#277F1B #1B597F #731B7F #7F411B
square
#277F1B #1B597F #731B7F #7F411B
split-complementary
#277F1B #411B7F #7F1B59
monochromatic
#081A06 #184D10 #277F1B #36B126 #51D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277F1B#FFFFFF#000000##FFFFFF
##277F1B1.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)
#827304
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#147B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f1b;
/* rgb */ color: rgb(39, 127, 27);
/* oklch */ color: oklch(52.5% 0.157 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa55f',
    500: '#277f1b',
    950: '#000000',
  },
}
SCSS
$custom: #277f1b;
$custom-light: #6fa55f;
$custom-dark: #000000;
JSON
{
  "hex": "#277f1b",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 112.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.15705,
    "h": 141.5
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#277F1B
secondary
#A543B3
accent
#40E8D4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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