#277C20#277C20

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

Color values

HEX#277C20
RGBrgb(39, 124, 32)
HSLhsl(115, 59%, 31%)
HSVhsv(115, 74%, 49%)
CMYKcmyk(68.5%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.57, -43.50, 40.71)
CIE-LCHlch(45.57, 59.58, 136.90°)
OKLaboklab(51.64% -0.1185 0.0925)
OKLCHoklch(51.64% 0.15 142)
XYZxyz(8.3046, 14.9501, 3.8142)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277C20 #75207C
analogous
#557C20 #277C20 #207C47
triadic
#277C20 #20277C #7C2027
tetradic
#277C20 #20557C #75207C #7C4720
square
#277C20 #20557C #75207C #7C4720
split-complementary
#277C20 #47207C #7C2055
monochromatic
#081B07 #184B13 #277C20 #36AD2D #51CF47

Accessibility & contrast

On white

5.26
#277C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#277C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277C20
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277C20#FFFFFF#000000##FFFFFF
##277C201.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7011
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#15786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #277c20;
/* rgb */ color: rgb(39, 124, 32);
/* oklch */ color: oklch(51.6% 0.150 142.0);
Tailwind
colors: {
  custom: {
    50: '#6ea361',
    500: '#277c20',
    950: '#000000',
  },
}
SCSS
$custom: #277c20;
$custom-light: #6ea361;
$custom-dark: #000000;
JSON
{
  "hex": "#277c20",
  "rgb": {
    "r": 39,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 115.435,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.15035,
    "h": 142
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#277C20
secondary
#A749AF
accent
#46E2D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #277C20

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

Preview Lab → · Contrast checker → · Palette generator →

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