#277D1A#277D1A

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

Color values

HEX#277D1A
RGBrgb(39, 125, 26)
HSLhsl(112, 66%, 30%)
HSVhsv(112, 79%, 49%)
CMYKcmyk(68.8%, 0%, 79.2%, 51%)
CIE-LABlab(45.87, -44.35, 43.29)
CIE-LCHlch(45.87, 61.98, 135.69°)
OKLaboklab(51.88% -0.1211 0.0971)
OKLCHoklch(51.88% 0.155 141.3)
XYZxyz(8.3563, 15.1723, 3.4652)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D1A #701A7D
analogous
#597D1A #277D1A #1A7D3E
triadic
#277D1A #1A277D #7D1A27
tetradic
#277D1A #1A597D #701A7D #7D3E1A
square
#277D1A #1A597D #701A7D #7D3E1A
split-complementary
#277D1A #3E1A7D #7D1A59
monochromatic
#081905 #174A0F #277D1A #37B025 #50D63B

Accessibility & contrast

On white

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

On black

4.03
#277D1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##277D1A#FFFFFF#000000##FFFFFF
##277D1A1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#16796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d1a;
/* rgb */ color: rgb(39, 125, 26);
/* oklch */ color: oklch(51.9% 0.155 141.3);
Tailwind
colors: {
  custom: {
    50: '#6ea45f',
    500: '#277d1a',
    950: '#000000',
  },
}
SCSS
$custom: #277d1a;
$custom-light: #6ea45f;
$custom-dark: #000000;
JSON
{
  "hex": "#277d1a",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 112.121,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.15521,
    "h": 141.3
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#277D1A
secondary
#A242B1
accent
#3FE9D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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