#277F20#277F20

#277F20 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.154 H 142.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#277F20
RGBrgb(39, 127, 32)
HSLhsl(116, 60%, 31%)
HSVhsv(116, 75%, 50%)
CMYKcmyk(69.3%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.60, -44.59, 41.76)
CIE-LCHlch(46.60, 61.10, 136.88°)
OKLaboklab(52.49% -0.1215 0.0947)
OKLCHoklch(52.49% 0.154 142.1)
XYZxyz(8.6863, 15.7135, 3.9415)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F20 #78207F
analogous
#567F20 #277F20 #207F48
triadic
#277F20 #20277F #7F2027
tetradic
#277F20 #20567F #78207F #7F4820
square
#277F20 #20567F #78207F #7F4820
split-complementary
#277F20 #48207F #7F2056
monochromatic
#091D07 #184E14 #277F20 #36B02C #52D148

Accessibility & contrast

On white

5.07
#277F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#277F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277F20
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F20#FFFFFF#000000##FFFFFF
##277F201.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#786C2A
Tritanopia (blue-blind)
#137B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f20;
/* rgb */ color: rgb(39, 127, 32);
/* oklch */ color: oklch(52.5% 0.154 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fa562',
    500: '#277f20',
    950: '#000000',
  },
}
SCSS
$custom: #277f20;
$custom-light: #6fa562;
$custom-dark: #000000;
JSON
{
  "hex": "#277f20",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 115.579,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.15404,
    "h": 142.1
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#277F20
secondary
#AA49B2
accent
#45E3D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #277F20

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

Preview Lab → · Contrast checker → · Palette generator →

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