#277A2F#277A2F

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

Color values

HEX#277A2F
RGBrgb(39, 122, 47)
HSLhsl(126, 52%, 32%)
HSVhsv(126, 68%, 48%)
CMYKcmyk(68%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.02, -41.10, 33.30)
CIE-LCHlch(45.02, 52.90, 140.99°)
OKLaboklab(51.23% -0.1112 0.0785)
OKLCHoklch(51.23% 0.136 144.8)
XYZxyz(8.3088, 14.5548, 5.0603)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277A2F #7A2772
analogous
#497A27 #277A2F #277A59
triadic
#277A2F #2F277A #7A2F27
tetradic
#277A2F #27497A #7A2772 #7A5927
square
#277A2F #27497A #7A2772 #7A5927
split-complementary
#277A2F #59277A #7A2749
monochromatic
#091D0B #184C1D #277A2F #36A841 #53C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277A2F#FFFFFF#000000##FFFFFF
##277A2F1.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)
#7C6F27
Deuteranopia (green-blind)
#726835
Tritanopia (blue-blind)
#11776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #277a2f;
/* rgb */ color: rgb(39, 122, 47);
/* oklch */ color: oklch(51.2% 0.136 144.8);
Tailwind
colors: {
  custom: {
    50: '#6da16a',
    500: '#277a2f',
    950: '#000000',
  },
}
SCSS
$custom: #277a2f;
$custom-light: #6da16a;
$custom-dark: #000000;
JSON
{
  "hex": "#277a2f",
  "rgb": {
    "r": 39,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 125.783,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.13617,
    "h": 144.8
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#277A2F
secondary
#AC51A3
accent
#4DCDDB
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #277A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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