#277218#277218

#277218 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.143 H 140.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#277218
RGBrgb(39, 114, 24)
HSLhsl(110, 65%, 27%)
HSVhsv(110, 79%, 45%)
CMYKcmyk(65.8%, 0%, 78.9%, 55.3%)
CIE-LABlab(42.05, -40.44, 40.27)
CIE-LCHlch(42.05, 57.07, 135.12°)
OKLaboklab(48.71% -0.1107 0.0905)
OKLCHoklch(48.71% 0.143 140.7)
XYZxyz(7.0185, 12.5312, 2.9129)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277218 #631872
analogous
#547218 #277218 #187236
triadic
#277218 #182772 #721827
tetradic
#277218 #185472 #631872 #723618
square
#277218 #185472 #631872 #723618
split-complementary
#277218 #361872 #721854
monochromatic
#091905 #163F0D #277218 #38A523 #4CD431

Accessibility & contrast

On white

5.99
#277218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#277218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277218
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277218#FFFFFF#000000##FFFFFF
##2772181.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#1B6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #277218;
/* rgb */ color: rgb(39, 114, 24);
/* oklch */ color: oklch(48.7% 0.143 140.7);
Tailwind
colors: {
  custom: {
    50: '#6c9b5c',
    500: '#277218',
    950: '#000000',
  },
}
SCSS
$custom: #277218;
$custom-light: #6c9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#277218",
  "rgb": {
    "r": 39,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 110,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.14295,
    "h": 140.7
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#277218
secondary
#963EA7
accent
#40E8CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #277218

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

Preview Lab → · Contrast checker → · Palette generator →

#277218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva