#277E2F#277E2F

#277E2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.142 H 144.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#277E2F
RGBrgb(39, 126, 47)
HSLhsl(126, 53%, 32%)
HSVhsv(126, 69%, 49%)
CMYKcmyk(69%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.39, -42.63, 34.88)
CIE-LCHlch(46.39, 55.08, 140.71°)
OKLaboklab(52.36% -0.1154 0.0819)
OKLCHoklch(52.36% 0.142 144.6)
XYZxyz(8.8101, 15.5574, 5.2273)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277E2F #7E2776
analogous
#4B7E27 #277E2F #277E5A
triadic
#277E2F #2F277E #7E2F27
tetradic
#277E2F #274B7E #7E2776 #7E5A27
square
#277E2F #274B7E #7E2776 #7E5A27
split-complementary
#277E2F #5A277E #7E274B
monochromatic
#0A210C #194F1E #277E2F #35AD40 #55CA60

Accessibility & contrast

On white

5.11
#277E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277E2F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277E2F#FFFFFF#000000##FFFFFF
##277E2F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807226
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#0E7B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277e2f;
/* rgb */ color: rgb(39, 126, 47);
/* oklch */ color: oklch(52.4% 0.142 144.6);
Tailwind
colors: {
  custom: {
    50: '#6da46a',
    500: '#277e2f',
    950: '#000000',
  },
}
SCSS
$custom: #277e2f;
$custom-light: #6da46a;
$custom-dark: #000000;
JSON
{
  "hex": "#277e2f",
  "rgb": {
    "r": 39,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 125.517,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52364,
    "c": 0.14152,
    "h": 144.6
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

primary
#277E2F
secondary
#AF52A7
accent
#4CCFDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #277E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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