#277F2E#277F2E

#277F2E is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.144 H 144.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#277F2E
RGBrgb(39, 127, 46)
HSLhsl(125, 53%, 33%)
HSVhsv(125, 69%, 50%)
CMYKcmyk(69.3%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.72, -43.13, 35.74)
CIE-LCHlch(46.72, 56.02, 140.36°)
OKLaboklab(52.63% -0.1168 0.0837)
OKLCHoklch(52.63% 0.144 144.4)
XYZxyz(8.9187, 15.8064, 5.1652)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F2E #7F2778
analogous
#4C7F27 #277F2E #277F5A
triadic
#277F2E #2E277F #7F2E27
tetradic
#277F2E #274C7F #7F2778 #7F5A27
square
#277F2E #274C7F #7F2778 #7F5A27
split-complementary
#277F2E #5A277F #7F274C
monochromatic
#0A210C #19501D #277F2E #35AE3F #55CB5F

Accessibility & contrast

On white

5.05
#277F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#277F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277F2E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F2E#FFFFFF#000000##FFFFFF
##277F2E1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#0E7C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f2e;
/* rgb */ color: rgb(39, 127, 46);
/* oklch */ color: oklch(52.6% 0.144 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ea56a',
    500: '#277f2e',
    950: '#000000',
  },
}
SCSS
$custom: #277f2e;
$custom-light: #6ea56a;
$custom-dark: #000000;
JSON
{
  "hex": "#277f2e",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 124.773,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.14367,
    "h": 144.4
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#277F2E
secondary
#B052A8
accent
#4BD1DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #277F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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