#277D2A#277D2A

#277D2A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.144 H 143.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#277D2A
RGBrgb(39, 125, 42)
HSLhsl(122, 52%, 32%)
HSVhsv(122, 69%, 49%)
CMYKcmyk(68.8%, 0%, 66.4%, 51%)
CIE-LABlab(45.99, -42.86, 36.81)
CIE-LCHlch(45.99, 56.49, 139.34°)
OKLaboklab(52.02% -0.1162 0.0856)
OKLCHoklch(52.02% 0.144 143.6)
XYZxyz(8.5877, 15.2648, 4.6839)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D2A #7D277A
analogous
#4F7D27 #277D2A #277D55
triadic
#277D2A #2A277D #7D2A27
tetradic
#277D2A #274F7D #7D277A #7D5527
square
#277D2A #274F7D #7D277A #7D5527
split-complementary
#277D2A #55277D #7D274F
monochromatic
#0A200B #184E1A #277D2A #36AC3A #55CA59

Accessibility & contrast

On white

5.18
#277D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#277D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277D2A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277D2A#FFFFFF#000000##FFFFFF
##277D2A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807120
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#11796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d2a;
/* rgb */ color: rgb(39, 125, 42);
/* oklch */ color: oklch(52.0% 0.144 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ea367',
    500: '#277d2a',
    950: '#000000',
  },
}
SCSS
$custom: #277d2a;
$custom-light: #6ea367;
$custom-dark: #000000;
JSON
{
  "hex": "#277d2a",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 122.093,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.14432,
    "h": 143.6
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#277D2A
secondary
#AF51AB
accent
#4CD7DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #277D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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