#277D2F#277D2F

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

Color values

HEX#277D2F
RGBrgb(39, 125, 47)
HSLhsl(126, 52%, 32%)
HSVhsv(126, 69%, 49%)
CMYKcmyk(68.8%, 0%, 62.4%, 51%)
CIE-LABlab(46.05, -42.25, 34.48)
CIE-LCHlch(46.05, 54.54, 140.78°)
OKLaboklab(52.08% -0.1143 0.0811)
OKLCHoklch(52.08% 0.14 144.7)
XYZxyz(8.6829, 15.3029, 5.1849)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D2F #7D2775
analogous
#4A7D27 #277D2F #277D5A
triadic
#277D2F #2F277D #7D2F27
tetradic
#277D2F #274A7D #7D2775 #7D5A27
square
#277D2F #274A7D #7D2775 #7D5A27
split-complementary
#277D2F #5A277D #7D274A
monochromatic
#0A200C #184E1D #277D2F #36AC41 #55CA5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277D2F#FFFFFF#000000##FFFFFF
##277D2F1.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)
#7F7127
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#0F7A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d2f;
/* rgb */ color: rgb(39, 125, 47);
/* oklch */ color: oklch(52.1% 0.140 144.7);
Tailwind
colors: {
  custom: {
    50: '#6da36a',
    500: '#277d2f',
    950: '#000000',
  },
}
SCSS
$custom: #277d2f;
$custom-light: #6da36a;
$custom-dark: #000000;
JSON
{
  "hex": "#277d2f",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 125.581,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52081,
    "c": 0.14019,
    "h": 144.7
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#277D2F
secondary
#AF51A6
accent
#4CCEDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #277D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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