#277C2F#277C2F

#277C2F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.139 H 144.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#277C2F
RGBrgb(39, 124, 47)
HSLhsl(126, 52%, 32%)
HSVhsv(126, 69%, 49%)
CMYKcmyk(68.5%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.70, -41.87, 34.09)
CIE-LCHlch(45.70, 53.99, 140.85°)
OKLaboklab(51.8% -0.1133 0.0803)
OKLCHoklch(51.8% 0.139 144.7)
XYZxyz(8.5569, 15.0510, 5.1430)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277C2F #7C2774
analogous
#4A7C27 #277C2F #277C5A
triadic
#277C2F #2F277C #7C2F27
tetradic
#277C2F #274A7C #7C2774 #7C5A27
square
#277C2F #274A7C #7C2774 #7C5A27
split-complementary
#277C2F #5A277C #7C274A
monochromatic
#0A1F0C #184D1D #277C2F #36AB41 #54C95F

Accessibility & contrast

On white

5.24
#277C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#277C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277C2F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277C2F#FFFFFF#000000##FFFFFF
##277C2F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7127
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#0F796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #277c2f;
/* rgb */ color: rgb(39, 124, 47);
/* oklch */ color: oklch(51.8% 0.139 144.7);
Tailwind
colors: {
  custom: {
    50: '#6da36a',
    500: '#277c2f',
    950: '#000000',
  },
}
SCSS
$custom: #277c2f;
$custom-light: #6da36a;
$custom-dark: #000000;
JSON
{
  "hex": "#277c2f",
  "rgb": {
    "r": 39,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 125.647,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.13886,
    "h": 144.7
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

primary
#277C2F
secondary
#AE51A5
accent
#4CCEDC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #277C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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