#277D20#277D20

#277D20 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.152 H 142.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#277D20
RGBrgb(39, 125, 32)
HSLhsl(115, 59%, 31%)
HSVhsv(115, 74%, 49%)
CMYKcmyk(68.8%, 0%, 74.4%, 51%)
CIE-LABlab(45.91, -43.87, 41.06)
CIE-LCHlch(45.91, 60.09, 136.89°)
OKLaboklab(51.92% -0.1195 0.0933)
OKLCHoklch(51.92% 0.152 142)
XYZxyz(8.4306, 15.2020, 3.8562)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D20 #76207D
analogous
#557D20 #277D20 #207D47
triadic
#277D20 #20277D #7D2027
tetradic
#277D20 #20557D #76207D #7D4720
square
#277D20 #20557D #76207D #7D4720
split-complementary
#277D20 #47207D #7D2055
monochromatic
#091C07 #184C14 #277D20 #36AE2C #52D047

Accessibility & contrast

On white

5.20
#277D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#277D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277D20
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277D20#FFFFFF#000000##FFFFFF
##277D201.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#14796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d20;
/* rgb */ color: rgb(39, 125, 32);
/* oklch */ color: oklch(51.9% 0.152 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea362',
    500: '#277d20',
    950: '#000000',
  },
}
SCSS
$custom: #277d20;
$custom-light: #6ea362;
$custom-dark: #000000;
JSON
{
  "hex": "#277d20",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 115.484,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51924,
    "c": 0.15158,
    "h": 142
  },
  "luminance": 0.15203
}

Semantic roles & 50–950 ramp

primary
#277D20
secondary
#A849B0
accent
#45E2D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #277D20

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

Preview Lab → · Contrast checker → · Palette generator →

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