#277F1D#277F1D

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

Color values

HEX#277F1D
RGBrgb(39, 127, 29)
HSLhsl(114, 63%, 31%)
HSVhsv(114, 77%, 50%)
CMYKcmyk(69.3%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.58, -44.84, 42.90)
CIE-LCHlch(46.58, 62.06, 136.27°)
OKLaboklab(52.47% -0.1223 0.0967)
OKLCHoklch(52.47% 0.156 141.7)
XYZxyz(8.6474, 15.6979, 3.7364)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F1D #751D7F
analogous
#587F1D #277F1D #1D7F44
triadic
#277F1D #1D277F #7F1D27
tetradic
#277F1D #1D587F #751D7F #7F441D
square
#277F1D #1D587F #751D7F #7F441D
split-complementary
#277F1D #441D7F #7F1D58
monochromatic
#081B06 #184D12 #277F1D #36B128 #51D442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277F1D#FFFFFF#000000##FFFFFF
##277F1D1.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)
#827309
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#147B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f1d;
/* rgb */ color: rgb(39, 127, 29);
/* oklch */ color: oklch(52.5% 0.156 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa560',
    500: '#277f1d',
    950: '#000000',
  },
}
SCSS
$custom: #277f1d;
$custom-light: #6fa560;
$custom-dark: #000000;
JSON
{
  "hex": "#277f1d",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 113.878,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.15589,
    "h": 141.7
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#277F1D
secondary
#A745B2
accent
#42E6D5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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