#277F28#277F28

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

Color values

HEX#277F28
RGBrgb(39, 127, 40)
HSLhsl(121, 53%, 33%)
HSVhsv(121, 69%, 50%)
CMYKcmyk(69.3%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.66, -43.82, 38.45)
CIE-LCHlch(46.66, 58.30, 138.73°)
OKLaboklab(52.57% -0.1189 0.0888)
OKLCHoklch(52.57% 0.148 143.3)
XYZxyz(8.8085, 15.7624, 4.5853)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F28 #7F277E
analogous
#527F27 #277F28 #277F54
triadic
#277F28 #28277F #7F2827
tetradic
#277F28 #27527F #7F277E #7F5427
square
#277F28 #27527F #7F277E #7F5427
split-complementary
#277F28 #54277F #7F2752
monochromatic
#0A210B #195019 #277F28 #35AE37 #55CB57

Accessibility & contrast

On white

5.06
#277F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277F28
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F28#FFFFFF#000000##FFFFFF
##277F281.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#107B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f28;
/* rgb */ color: rgb(39, 127, 40);
/* oklch */ color: oklch(52.6% 0.148 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ea566',
    500: '#277f28',
    950: '#000000',
  },
}
SCSS
$custom: #277f28;
$custom-light: #6ea566;
$custom-dark: #000000;
JSON
{
  "hex": "#277f28",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 120.682,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.14844,
    "h": 143.3
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#277F28
secondary
#B052AF
accent
#4BDBDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #277F28

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

Preview Lab → · Contrast checker → · Palette generator →

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