#277F2F#277F2F

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

Color values

HEX#277F2F
RGBrgb(39, 127, 47)
HSLhsl(125, 53%, 33%)
HSVhsv(125, 69%, 50%)
CMYKcmyk(69.3%, 0%, 63%, 50.2%)
CIE-LABlab(46.73, -43.01, 35.27)
CIE-LCHlch(46.73, 55.62, 140.65°)
OKLaboklab(52.65% -0.1164 0.0828)
OKLCHoklch(52.65% 0.143 144.6)
XYZxyz(8.9386, 15.8144, 5.2702)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F2F #7F2777
analogous
#4B7F27 #277F2F #277F5B
triadic
#277F2F #2F277F #7F2F27
tetradic
#277F2F #274B7F #7F2777 #7F5B27
square
#277F2F #274B7F #7F2777 #7F5B27
split-complementary
#277F2F #5B277F #7F274B
monochromatic
#0A210C #19501E #277F2F #35AE40 #55CB60

Accessibility & contrast

On white

5.04
#277F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277F2F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F2F#FFFFFF#000000##FFFFFF
##277F2F1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#0D7C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f2f;
/* rgb */ color: rgb(39, 127, 47);
/* oklch */ color: oklch(52.6% 0.143 144.6);
Tailwind
colors: {
  custom: {
    50: '#6ea56b',
    500: '#277f2f',
    950: '#000000',
  },
}
SCSS
$custom: #277f2f;
$custom-light: #6ea56b;
$custom-dark: #000000;
JSON
{
  "hex": "#277f2f",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 125.455,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.14283,
    "h": 144.6
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#277F2F
secondary
#B052A7
accent
#4BCFDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #277F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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