#277A28#277A28

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

Color values

HEX#277A28
RGBrgb(39, 122, 40)
HSLhsl(121, 52%, 32%)
HSVhsv(121, 68%, 48%)
CMYKcmyk(68%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.95, -41.95, 36.57)
CIE-LCHlch(44.95, 55.66, 138.92°)
OKLaboklab(51.15% -0.1139 0.0848)
OKLCHoklch(51.15% 0.142 143.3)
XYZxyz(8.1788, 14.5028, 4.3754)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A28 #7A2779
analogous
#507A27 #277A28 #277A52
triadic
#277A28 #28277A #7A2827
tetradic
#277A28 #27507A #7A2779 #7A5227
square
#277A28 #27507A #7A2779 #7A5227
split-complementary
#277A28 #52277A #7A2750
monochromatic
#091D0A #184C19 #277A28 #36A837 #53C855

Accessibility & contrast

On white

5.38
#277A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#277A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277A28
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277A28#FFFFFF#000000##FFFFFF
##277A281.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1E
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#137669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277a28;
/* rgb */ color: rgb(39, 122, 40);
/* oklch */ color: oklch(51.1% 0.142 143.3);
Tailwind
colors: {
  custom: {
    50: '#6da166',
    500: '#277a28',
    950: '#000000',
  },
}
SCSS
$custom: #277a28;
$custom-light: #6da166;
$custom-dark: #000000;
JSON
{
  "hex": "#277a28",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 120.723,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.142,
    "h": 143.3
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#277A28
secondary
#AC51AB
accent
#4DD9DB
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #277A28

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

Preview Lab → · Contrast checker → · Palette generator →

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