#277215#277215

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

Color values

HEX#277215
RGBrgb(39, 114, 21)
HSLhsl(108, 69%, 26%)
HSVhsv(108, 82%, 45%)
CMYKcmyk(65.8%, 0%, 81.6%, 55.3%)
CIE-LABlab(42.03, -40.66, 41.32)
CIE-LCHlch(42.03, 57.97, 134.54°)
OKLaboklab(48.69% -0.1114 0.0922)
OKLCHoklch(48.69% 0.145 140.4)
XYZxyz(6.9890, 12.5194, 2.7575)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277215 #601572
analogous
#567215 #277215 #157232
triadic
#277215 #152772 #721527
tetradic
#277215 #155672 #601572 #723215
square
#277215 #155672 #601572 #723215
split-complementary
#277215 #321572 #721556
monochromatic
#091A05 #153E0B #277215 #39A61F #4BD82A

Accessibility & contrast

On white

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

On black

3.50
#277215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##277215#FFFFFF#000000##FFFFFF
##2772151.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #277215;
/* rgb */ color: rgb(39, 114, 21);
/* oklch */ color: oklch(48.7% 0.145 140.4);
Tailwind
colors: {
  custom: {
    50: '#6c9b5b',
    500: '#277215',
    950: '#000000',
  },
}
SCSS
$custom: #277215;
$custom-light: #6c9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#277215",
  "rgb": {
    "r": 39,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 108.387,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48688,
    "c": 0.14464,
    "h": 140.4
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#277215
secondary
#933BA8
accent
#3CECCA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #277215

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

Preview Lab → · Contrast checker → · Palette generator →

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