#277A2D#277A2D

#277A2D is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.138 H 144.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#277A2D
RGBrgb(39, 122, 45)
HSLhsl(124, 52%, 32%)
HSVhsv(124, 68%, 48%)
CMYKcmyk(68%, 0%, 63.1%, 52.2%)
CIE-LABlab(45.00, -41.36, 34.26)
CIE-LCHlch(45.00, 53.70, 140.37°)
OKLaboklab(51.21% -0.112 0.0804)
OKLCHoklch(51.21% 0.138 144.3)
XYZxyz(8.2694, 14.5390, 4.8526)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A2D #7A2774
analogous
#4B7A27 #277A2D #277A57
triadic
#277A2D #2D277A #7A2D27
tetradic
#277A2D #274B7A #7A2774 #7A5727
square
#277A2D #274B7A #7A2774 #7A5727
split-complementary
#277A2D #57277A #7A274B
monochromatic
#091D0B #184C1C #277A2D #36A83E #53C85C

Accessibility & contrast

On white

5.37
#277A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#277A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277A2D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277A2D#FFFFFF#000000##FFFFFF
##277A2D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F25
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#127769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277a2d;
/* rgb */ color: rgb(39, 122, 45);
/* oklch */ color: oklch(51.2% 0.138 144.3);
Tailwind
colors: {
  custom: {
    50: '#6da169',
    500: '#277a2d',
    950: '#000000',
  },
}
SCSS
$custom: #277a2d;
$custom-light: #6da169;
$custom-dark: #000000;
JSON
{
  "hex": "#277a2d",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 124.337,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.1379,
    "h": 144.3
  },
  "luminance": 0.1454
}

Semantic roles & 50–950 ramp

primary
#277A2D
secondary
#AC51A5
accent
#4DD1DB
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #277A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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