#277F40#277F40

#277F40 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.127 H 149.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#277F40
RGBrgb(39, 127, 64)
HSLhsl(137, 53%, 33%)
HSVhsv(137, 69%, 50%)
CMYKcmyk(69.3%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.95, -40.50, 26.76)
CIE-LCHlch(46.95, 48.55, 146.55°)
OKLaboklab(52.9% -0.1092 0.0652)
OKLCHoklch(52.9% 0.127 149.1)
XYZxyz(9.3508, 15.9792, 7.4410)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F40 #7F2766
analogous
#3A7F27 #277F40 #277F6C
triadic
#277F40 #40277F #7F4027
tetradic
#277F40 #273A7F #7F2766 #7F6C27
square
#277F40 #273A7F #7F2766 #7F6C27
split-complementary
#277F40 #6C277F #7F273A
monochromatic
#0A2111 #195028 #277F40 #35AE58 #55CB77

Accessibility & contrast

On white

5.00
#277F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#277F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277F40
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F40#FFFFFF#000000##FFFFFF
##277F401.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f40;
/* rgb */ color: rgb(39, 127, 64);
/* oklch */ color: oklch(52.9% 0.127 149.1);
Tailwind
colors: {
  custom: {
    50: '#6da576',
    500: '#277f40',
    950: '#000000',
  },
}
SCSS
$custom: #277f40;
$custom-light: #6da576;
$custom-dark: #000000;
JSON
{
  "hex": "#277f40",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 137.045,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.12718,
    "h": 149.1
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#277F40
secondary
#B05295
accent
#4BB3DC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #277F40

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

Preview Lab → · Contrast checker → · Palette generator →

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