#277F2B#277F2B

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

Color values

HEX#277F2B
RGBrgb(39, 127, 43)
HSLhsl(123, 53%, 33%)
HSVhsv(123, 69%, 50%)
CMYKcmyk(69.3%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.69, -43.49, 37.12)
CIE-LCHlch(46.69, 57.18, 139.52°)
OKLaboklab(52.6% -0.1179 0.0863)
OKLCHoklch(52.6% 0.146 143.8)
XYZxyz(8.8616, 15.7836, 4.8646)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F2B #7F277B
analogous
#4F7F27 #277F2B #277F57
triadic
#277F2B #2B277F #7F2B27
tetradic
#277F2B #274F7F #7F277B #7F5727
square
#277F2B #274F7F #7F277B #7F5727
split-complementary
#277F2B #57277F #7F274F
monochromatic
#0A210B #19501B #277F2B #35AE3B #55CB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277F2B#FFFFFF#000000##FFFFFF
##277F2B1.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)
#827321
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#0F7B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f2b;
/* rgb */ color: rgb(39, 127, 43);
/* oklch */ color: oklch(52.6% 0.146 143.8);
Tailwind
colors: {
  custom: {
    50: '#6ea568',
    500: '#277f2b',
    950: '#000000',
  },
}
SCSS
$custom: #277f2b;
$custom-light: #6ea568;
$custom-dark: #000000;
JSON
{
  "hex": "#277f2b",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 122.727,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.526,
    "c": 0.14611,
    "h": 143.8
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#277F2B
secondary
#B052AB
accent
#4BD6DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #277F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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