#277A22#277A22

#277A22 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.146 H 142.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#277A22
RGBrgb(39, 122, 34)
HSLhsl(117, 56%, 31%)
HSVhsv(117, 72%, 48%)
CMYKcmyk(68%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.89, -42.58, 39.18)
CIE-LCHlch(44.89, 57.86, 137.38°)
OKLaboklab(51.09% -0.1159 0.0896)
OKLCHoklch(51.09% 0.146 142.3)
XYZxyz(8.0845, 14.4651, 3.8790)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A22 #75227A
analogous
#537A22 #277A22 #227A49
triadic
#277A22 #22277A #7A2227
tetradic
#277A22 #22537A #75227A #7A4922
square
#277A22 #22537A #75227A #7A4922
split-complementary
#277A22 #49227A #7A2253
monochromatic
#081A07 #184A15 #277A22 #36AA2F #51CD4A

Accessibility & contrast

On white

5.39
#277A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#277A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277A22
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277A22#FFFFFF#000000##FFFFFF
##277A221.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E15
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#157668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277a22;
/* rgb */ color: rgb(39, 122, 34);
/* oklch */ color: oklch(51.1% 0.146 142.3);
Tailwind
colors: {
  custom: {
    50: '#6da162',
    500: '#277a22',
    950: '#000000',
  },
}
SCSS
$custom: #277a22;
$custom-light: #6da162;
$custom-dark: #000000;
JSON
{
  "hex": "#277a22",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 116.591,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51087,
    "c": 0.14648,
    "h": 142.3
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

primary
#277A22
secondary
#A74BAD
accent
#48E0D7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #277A22

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

Preview Lab → · Contrast checker → · Palette generator →

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