#277F2A#277F2A

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

Color values

HEX#277F2A
RGBrgb(39, 127, 42)
HSLhsl(122, 53%, 33%)
HSVhsv(122, 69%, 50%)
CMYKcmyk(69.3%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.68, -43.60, 37.57)
CIE-LCHlch(46.68, 57.56, 139.25°)
OKLaboklab(52.59% -0.1182 0.0872)
OKLCHoklch(52.59% 0.147 143.6)
XYZxyz(8.8435, 15.7763, 4.7691)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F2A #7F277C
analogous
#507F27 #277F2A #277F56
triadic
#277F2A #2A277F #7F2A27
tetradic
#277F2A #27507F #7F277C #7F5627
square
#277F2A #27507F #7F277C #7F5627
split-complementary
#277F2A #56277F #7F2750
monochromatic
#0A210B #19501B #277F2A #35AE39 #55CB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##277F2A#FFFFFF#000000##FFFFFF
##277F2A1.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)
#82731F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#107B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f2a;
/* rgb */ color: rgb(39, 127, 42);
/* oklch */ color: oklch(52.6% 0.147 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ea567',
    500: '#277f2a',
    950: '#000000',
  },
}
SCSS
$custom: #277f2a;
$custom-light: #6ea567;
$custom-dark: #000000;
JSON
{
  "hex": "#277f2a",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 122.045,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.14691,
    "h": 143.6
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#277F2A
secondary
#B052AD
accent
#4BD7DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #277F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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