#277D1F#277D1F

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

Color values

HEX#277D1F
RGBrgb(39, 125, 31)
HSLhsl(115, 60%, 31%)
HSVhsv(115, 75%, 49%)
CMYKcmyk(68.8%, 0%, 75.2%, 51%)
CIE-LABlab(45.90, -43.95, 41.45)
CIE-LCHlch(45.90, 60.42, 136.68°)
OKLaboklab(51.92% -0.1198 0.0939)
OKLCHoklch(51.92% 0.152 141.9)
XYZxyz(8.4172, 15.1966, 3.7857)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D1F #751F7D
analogous
#567D1F #277D1F #1F7D46
triadic
#277D1F #1F277D #7D1F27
tetradic
#277D1F #1F567D #751F7D #7D461F
square
#277D1F #1F567D #751F7D #7D461F
split-complementary
#277D1F #461F7D #7D1F56
monochromatic
#081B07 #184C13 #277D1F #36AE2B #51D145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277D1F#FFFFFF#000000##FFFFFF
##277D1F1.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)
#80710E
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#15796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d1f;
/* rgb */ color: rgb(39, 125, 31);
/* oklch */ color: oklch(51.9% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ea361',
    500: '#277d1f',
    950: '#000000',
  },
}
SCSS
$custom: #277d1f;
$custom-light: #6ea361;
$custom-dark: #000000;
JSON
{
  "hex": "#277d1f",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 114.894,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.15223,
    "h": 141.9
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#277D1F
secondary
#A748B0
accent
#44E3D6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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