#277E2B#277E2B

#277E2B is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.145 H 143.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#277E2B
RGBrgb(39, 126, 43)
HSLhsl(123, 53%, 32%)
HSVhsv(123, 69%, 49%)
CMYKcmyk(69%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.35, -43.12, 36.74)
CIE-LCHlch(46.35, 56.64, 139.57°)
OKLaboklab(52.32% -0.1169 0.0855)
OKLCHoklch(52.32% 0.145 143.8)
XYZxyz(8.7331, 15.5266, 4.8217)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277E2B #7E277A
analogous
#4E7E27 #277E2B #277E57
triadic
#277E2B #2B277E #7E2B27
tetradic
#277E2B #274E7E #7E277A #7E5727
square
#277E2B #274E7E #7E277A #7E5727
split-complementary
#277E2B #57277E #7E274E
monochromatic
#0A210B #194F1B #277E2B #35AD3B #55CA5A

Accessibility & contrast

On white

5.12
#277E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#277E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277E2B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277E2B#FFFFFF#000000##FFFFFF
##277E2B1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817221
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#107A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277e2b;
/* rgb */ color: rgb(39, 126, 43);
/* oklch */ color: oklch(52.3% 0.145 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ea468',
    500: '#277e2b',
    950: '#000000',
  },
}
SCSS
$custom: #277e2b;
$custom-light: #6ea468;
$custom-dark: #000000;
JSON
{
  "hex": "#277e2b",
  "rgb": {
    "r": 39,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 122.759,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.14482,
    "h": 143.8
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#277E2B
secondary
#AF52AB
accent
#4CD5DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #277E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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