#277B2F#277B2F

#277B2F is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.138 H 144.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#277B2F
RGBrgb(39, 123, 47)
HSLhsl(126, 52%, 32%)
HSVhsv(126, 68%, 48%)
CMYKcmyk(68.3%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.36, -41.49, 33.69)
CIE-LCHlch(45.36, 53.45, 140.92°)
OKLaboklab(51.52% -0.1123 0.0794)
OKLCHoklch(51.52% 0.138 144.7)
XYZxyz(8.4322, 14.8016, 5.1014)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B2F #7B2773
analogous
#497B27 #277B2F #277B59
triadic
#277B2F #2F277B #7B2F27
tetradic
#277B2F #27497B #7B2773 #7B5927
square
#277B2F #27497B #7B2773 #7B5927
split-complementary
#277B2F #59277B #7B2749
monochromatic
#0A1E0B #184D1D #277B2F #36A941 #54C95F

Accessibility & contrast

On white

5.30
#277B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#277B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277B2F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B2F#FFFFFF#000000##FFFFFF
##277B2F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7027
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#10786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b2f;
/* rgb */ color: rgb(39, 123, 47);
/* oklch */ color: oklch(51.5% 0.138 144.7);
Tailwind
colors: {
  custom: {
    50: '#6da26a',
    500: '#277b2f',
    950: '#000000',
  },
}
SCSS
$custom: #277b2f;
$custom-light: #6da26a;
$custom-dark: #000000;
JSON
{
  "hex": "#277b2f",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 125.714,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.13752,
    "h": 144.7
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#277B2F
secondary
#AD51A4
accent
#4CCEDB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #277B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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