#277D31#277D31

#277D31 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.138 H 145.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#277D31
RGBrgb(39, 125, 49)
HSLhsl(127, 52%, 32%)
HSVhsv(127, 69%, 49%)
CMYKcmyk(68.8%, 0%, 60.8%, 51%)
CIE-LABlab(46.07, -41.99, 33.52)
CIE-LCHlch(46.07, 53.73, 141.40°)
OKLaboklab(52.11% -0.1136 0.0792)
OKLCHoklch(52.11% 0.138 145.1)
XYZxyz(8.7241, 15.3194, 5.4023)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D31 #7D2773
analogous
#487D27 #277D31 #277D5C
triadic
#277D31 #31277D #7D3127
tetradic
#277D31 #27487D #7D2773 #7D5C27
square
#277D31 #27487D #7D2773 #7D5C27
split-complementary
#277D31 #5C277D #7D2748
monochromatic
#0A200C #184E1F #277D31 #36AC43 #55CA62

Accessibility & contrast

On white

5.17
#277D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#277D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277D31
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277D31#FFFFFF#000000##FFFFFF
##277D311.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7129
Deuteranopia (green-blind)
#756A37
Tritanopia (blue-blind)
#0E7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d31;
/* rgb */ color: rgb(39, 125, 49);
/* oklch */ color: oklch(52.1% 0.138 145.1);
Tailwind
colors: {
  custom: {
    50: '#6da36c',
    500: '#277d31',
    950: '#000000',
  },
}
SCSS
$custom: #277d31;
$custom-light: #6da36c;
$custom-dark: #000000;
JSON
{
  "hex": "#277d31",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 126.977,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.13846,
    "h": 145.1
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#277D31
secondary
#AF51A4
accent
#4CCBDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #277D31

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

Preview Lab → · Contrast checker → · Palette generator →

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