#277F2C#277F2C

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

Color values

HEX#277F2C
RGBrgb(39, 127, 44)
HSLhsl(123, 53%, 33%)
HSVhsv(123, 69%, 50%)
CMYKcmyk(69.3%, 0%, 65.4%, 50.2%)
CIE-LABlab(46.70, -43.37, 36.66)
CIE-LCHlch(46.70, 56.79, 139.79°)
OKLaboklab(52.61% -0.1175 0.0855)
OKLCHoklch(52.61% 0.145 144)
XYZxyz(8.8801, 15.7910, 4.9624)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F2C #7F277A
analogous
#4E7F27 #277F2C #277F58
triadic
#277F2C #2C277F #7F2C27
tetradic
#277F2C #274E7F #7F277A #7F5827
square
#277F2C #274E7F #7F277A #7F5827
split-complementary
#277F2C #58277F #7F274E
monochromatic
#0A210C #19501C #277F2C #35AE3C #55CB5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277F2C#FFFFFF#000000##FFFFFF
##277F2C1.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)
#817322
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#0F7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f2c;
/* rgb */ color: rgb(39, 127, 44);
/* oklch */ color: oklch(52.6% 0.145 144.0);
Tailwind
colors: {
  custom: {
    50: '#6ea569',
    500: '#277f2c',
    950: '#000000',
  },
}
SCSS
$custom: #277f2c;
$custom-light: #6ea569;
$custom-dark: #000000;
JSON
{
  "hex": "#277f2c",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 123.409,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.14532,
    "h": 144
  },
  "luminance": 0.15792
}

Semantic roles & 50–950 ramp

primary
#277F2C
secondary
#B052AA
accent
#4BD4DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #277F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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