#277F22#277F22

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

Color values

HEX#277F22
RGBrgb(39, 127, 34)
HSLhsl(117, 58%, 32%)
HSVhsv(117, 73%, 50%)
CMYKcmyk(69.3%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.61, -44.42, 40.97)
CIE-LCHlch(46.61, 60.43, 137.31°)
OKLaboklab(52.51% -0.1209 0.0934)
OKLCHoklch(52.51% 0.153 142.3)
XYZxyz(8.7143, 15.7247, 4.0890)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F22 #7A227F
analogous
#567F22 #277F22 #227F4C
triadic
#277F22 #22277F #7F2227
tetradic
#277F22 #22567F #7A227F #7F4C22
square
#277F22 #22567F #7A227F #7F4C22
split-complementary
#277F22 #4C227F #7F2256
monochromatic
#091E08 #184F15 #277F22 #36AF2F #53CF4C

Accessibility & contrast

On white

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

On black

4.15
#277F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##277F22#FFFFFF#000000##FFFFFF
##277F221.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827313
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#137B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #277f22;
/* rgb */ color: rgb(39, 127, 34);
/* oklch */ color: oklch(52.5% 0.153 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ea563',
    500: '#277f22',
    950: '#000000',
  },
}
SCSS
$custom: #277f22;
$custom-light: #6ea563;
$custom-dark: #000000;
JSON
{
  "hex": "#277f22",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 116.774,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.15273,
    "h": 142.3
  },
  "luminance": 0.15726
}

Semantic roles & 50–950 ramp

primary
#277F22
secondary
#AC4BB2
accent
#47E1D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #277F22

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

Preview Lab → · Contrast checker → · Palette generator →

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