#277F42#277F42

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

Color values

HEX#277F42
RGBrgb(39, 127, 66)
HSLhsl(138, 53%, 33%)
HSVhsv(138, 69%, 50%)
CMYKcmyk(69.3%, 0%, 48%, 50.2%)
CIE-LABlab(46.98, -40.16, 25.71)
CIE-LCHlch(46.98, 47.69, 147.37°)
OKLaboklab(52.93% -0.1082 0.0629)
OKLCHoklch(52.93% 0.125 149.8)
XYZxyz(9.4087, 16.0024, 7.7461)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F42 #7F2764
analogous
#387F27 #277F42 #277F6E
triadic
#277F42 #42277F #7F4227
tetradic
#277F42 #27387F #7F2764 #7F6E27
square
#277F42 #27387F #7F2764 #7F6E27
split-complementary
#277F42 #6E277F #7F2738
monochromatic
#0A2111 #19502A #277F42 #35AE5A #55CB7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277F42#FFFFFF#000000##FFFFFF
##277F421.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)
#80743D
Deuteranopia (green-blind)
#756C46
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f42;
/* rgb */ color: rgb(39, 127, 66);
/* oklch */ color: oklch(52.9% 0.125 149.8);
Tailwind
colors: {
  custom: {
    50: '#6da577',
    500: '#277f42',
    950: '#000000',
  },
}
SCSS
$custom: #277f42;
$custom-light: #6da577;
$custom-dark: #000000;
JSON
{
  "hex": "#277f42",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 66
  },
  "hsl": {
    "h": 138.409,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.12521,
    "h": 149.8
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#277F42
secondary
#B05293
accent
#4BB0DC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #277F42

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

Preview Lab → · Contrast checker → · Palette generator →

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