#277B2E#277B2E

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

Color values

HEX#277B2E
RGBrgb(39, 123, 46)
HSLhsl(125, 52%, 32%)
HSVhsv(125, 68%, 48%)
CMYKcmyk(68.3%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.35, -41.62, 34.17)
CIE-LCHlch(45.35, 53.85, 140.61°)
OKLaboklab(51.5% -0.1127 0.0803)
OKLCHoklch(51.5% 0.138 144.5)
XYZxyz(8.4123, 14.7936, 4.9964)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B2E #7B2774
analogous
#4A7B27 #277B2E #277B58
triadic
#277B2E #2E277B #7B2E27
tetradic
#277B2E #274A7B #7B2774 #7B5827
square
#277B2E #274A7B #7B2774 #7B5827
split-complementary
#277B2E #58277B #7B274A
monochromatic
#0A1E0B #184D1D #277B2E #36A93F #54C95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277B2E#FFFFFF#000000##FFFFFF
##277B2E1.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)
#7D7026
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#10786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b2e;
/* rgb */ color: rgb(39, 123, 46);
/* oklch */ color: oklch(51.5% 0.138 144.5);
Tailwind
colors: {
  custom: {
    50: '#6da26a',
    500: '#277b2e',
    950: '#000000',
  },
}
SCSS
$custom: #277b2e;
$custom-light: #6da26a;
$custom-dark: #000000;
JSON
{
  "hex": "#277b2e",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 125,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.13838,
    "h": 144.5
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#277B2E
secondary
#AD51A5
accent
#4CCFDB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #277B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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