#277B18#277B18

#277B18 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.154 H 141.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#277B18
RGBrgb(39, 123, 24)
HSLhsl(111, 67%, 29%)
HSVhsv(111, 80%, 48%)
CMYKcmyk(68.3%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.17, -43.77, 43.31)
CIE-LCHlch(45.17, 61.57, 135.30°)
OKLaboklab(51.29% -0.1197 0.0968)
OKLCHoklch(51.29% 0.154 141)
XYZxyz(8.0841, 14.6624, 3.2681)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277B18 #6C187B
analogous
#597B18 #277B18 #187B3B
triadic
#277B18 #18277B #7B1827
tetradic
#277B18 #18597B #6C187B #7B3B18
square
#277B18 #18597B #6C187B #7B3B18
split-complementary
#277B18 #3B187B #7B1859
monochromatic
#081A05 #17480E #277B18 #37AE22 #4ED836

Accessibility & contrast

On white

5.34
#277B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#277B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277B18
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277B18#FFFFFF#000000##FFFFFF
##277B181.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#177768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #277b18;
/* rgb */ color: rgb(39, 123, 24);
/* oklch */ color: oklch(51.3% 0.154 141.0);
Tailwind
colors: {
  custom: {
    50: '#6ea25d',
    500: '#277b18',
    950: '#000000',
  },
}
SCSS
$custom: #277b18;
$custom-light: #6ea25d;
$custom-dark: #000000;
JSON
{
  "hex": "#277b18",
  "rgb": {
    "r": 39,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 110.909,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.15391,
    "h": 141
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#277B18
secondary
#9F3FB0
accent
#3EEAD0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277B18

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

Preview Lab → · Contrast checker → · Palette generator →

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