#277B1B#277B1B

#277B1B is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.152 H 141.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#277B1B
RGBrgb(39, 123, 27)
HSLhsl(113, 64%, 29%)
HSVhsv(113, 78%, 48%)
CMYKcmyk(68.3%, 0%, 78%, 51.8%)
CIE-LABlab(45.19, -43.55, 42.26)
CIE-LCHlch(45.19, 60.68, 135.86°)
OKLaboklab(51.31% -0.1189 0.095)
OKLCHoklch(51.31% 0.152 141.4)
XYZxyz(8.1171, 14.6756, 3.4416)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B1B #6F1B7B
analogous
#577B1B #277B1B #1B7B3F
triadic
#277B1B #1B277B #7B1B27
tetradic
#277B1B #1B577B #6F1B7B #7B3F1B
square
#277B1B #1B577B #6F1B7B #7B3F1B
split-complementary
#277B1B #3F1B7B #7B1B57
monochromatic
#081906 #174910 #277B1B #37AD26 #4FD43C

Accessibility & contrast

On white

5.34
#277B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#277B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277B1B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B1B#FFFFFF#000000##FFFFFF
##277B1B1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F06
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#177769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b1b;
/* rgb */ color: rgb(39, 123, 27);
/* oklch */ color: oklch(51.3% 0.152 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ea25f',
    500: '#277b1b',
    950: '#000000',
  },
}
SCSS
$custom: #277b1b;
$custom-light: #6ea25f;
$custom-dark: #000000;
JSON
{
  "hex": "#277b1b",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 112.5,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51314,
    "c": 0.15223,
    "h": 141.4
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#277B1B
secondary
#A243AF
accent
#41E7D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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