#277315#277315

#277315 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.146 H 140.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#277315
RGBrgb(39, 115, 21)
HSLhsl(109, 69%, 27%)
HSVhsv(109, 82%, 45%)
CMYKcmyk(66.1%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.38, -41.03, 41.65)
CIE-LCHlch(42.38, 58.47, 134.57°)
OKLaboklab(48.98% -0.1125 0.0929)
OKLCHoklch(48.98% 0.146 140.4)
XYZxyz(7.1024, 12.7463, 2.7953)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277315 #611573
analogous
#567315 #277315 #157332
triadic
#277315 #152773 #731527
tetradic
#277315 #155673 #611573 #733215
square
#277315 #155673 #611573 #733215
split-complementary
#277315 #321573 #731556
monochromatic
#091A05 #153F0C #277315 #39A71E #4CD82A

Accessibility & contrast

On white

5.92
#277315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#277315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277315
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277315#FFFFFF#000000##FFFFFF
##2773151.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#1B6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #277315;
/* rgb */ color: rgb(39, 115, 21);
/* oklch */ color: oklch(49.0% 0.146 140.4);
Tailwind
colors: {
  custom: {
    50: '#6c9c5b',
    500: '#277315',
    950: '#000000',
  },
}
SCSS
$custom: #277315;
$custom-light: #6c9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#277315",
  "rgb": {
    "r": 39,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 108.511,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48976,
    "c": 0.14586,
    "h": 140.4
  },
  "luminance": 0.12747
}

Semantic roles & 50–950 ramp

primary
#277315
secondary
#943BA9
accent
#3CECCA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #277315

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

Preview Lab → · Contrast checker → · Palette generator →

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