#277B40#277B40

#277B40 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.121 H 149.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#277B40
RGBrgb(39, 123, 64)
HSLhsl(138, 52%, 32%)
HSVhsv(138, 68%, 48%)
CMYKcmyk(68.3%, 0%, 48%, 51.8%)
CIE-LABlab(45.59, -38.89, 25.04)
CIE-LCHlch(45.59, 46.26, 147.22°)
OKLaboklab(51.78% -0.1049 0.0613)
OKLCHoklch(51.78% 0.121 149.7)
XYZxyz(8.8444, 14.9665, 7.2722)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B40 #7B2762
analogous
#387B27 #277B40 #277B6A
triadic
#277B40 #40277B #7B4027
tetradic
#277B40 #27387B #7B2762 #7B6A27
square
#277B40 #27387B #7B2762 #7B6A27
split-complementary
#277B40 #6A277B #7B2738
monochromatic
#0A1E10 #184D28 #277B40 #36A958 #54C977

Accessibility & contrast

On white

5.26
#277B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277B40
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B40#FFFFFF#000000##FFFFFF
##277B401.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#04796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #277b40;
/* rgb */ color: rgb(39, 123, 64);
/* oklch */ color: oklch(51.8% 0.121 149.7);
Tailwind
colors: {
  custom: {
    50: '#6ca276',
    500: '#277b40',
    950: '#000000',
  },
}
SCSS
$custom: #277b40;
$custom-light: #6ca276;
$custom-dark: #000000;
JSON
{
  "hex": "#277b40",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 137.857,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.12149,
    "h": 149.7
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#277B40
secondary
#AD5192
accent
#4CB1DB
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #277B40

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

Preview Lab → · Contrast checker → · Palette generator →

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