#277C1B#277C1B

#277C1B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.153 H 141.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#277C1B
RGBrgb(39, 124, 27)
HSLhsl(113, 64%, 30%)
HSVhsv(113, 78%, 49%)
CMYKcmyk(68.5%, 0%, 78.2%, 51.4%)
CIE-LABlab(45.53, -43.91, 42.60)
CIE-LCHlch(45.53, 61.18, 135.87°)
OKLaboklab(51.6% -0.1199 0.0958)
OKLCHoklch(51.6% 0.153 141.4)
XYZxyz(8.2417, 14.9249, 3.4832)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277C1B #701B7C
analogous
#587C1B #277C1B #1B7C3F
triadic
#277C1B #1B277C #7C1B27
tetradic
#277C1B #1B587C #701B7C #7C3F1B
square
#277C1B #1B587C #701B7C #7C3F1B
split-complementary
#277C1B #3F1B7C #7C1B58
monochromatic
#081905 #174A10 #277C1B #37AE26 #50D53D

Accessibility & contrast

On white

5.27
#277C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#277C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277C1B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277C1B#FFFFFF#000000##FFFFFF
##277C1B1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#16786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #277c1b;
/* rgb */ color: rgb(39, 124, 27);
/* oklch */ color: oklch(51.6% 0.153 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ea35f',
    500: '#277c1b',
    950: '#000000',
  },
}
SCSS
$custom: #277c1b;
$custom-light: #6ea35f;
$custom-dark: #000000;
JSON
{
  "hex": "#277c1b",
  "rgb": {
    "r": 39,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 112.577,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.15345,
    "h": 141.4
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#277C1B
secondary
#A243B0
accent
#41E7D3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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