#277417#277417

#277417 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.146 H 140.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#277417
RGBrgb(39, 116, 23)
HSLhsl(110, 67%, 27%)
HSVhsv(110, 80%, 45%)
CMYKcmyk(66.4%, 0%, 80.2%, 54.5%)
CIE-LABlab(42.74, -41.26, 41.30)
CIE-LCHlch(42.74, 58.39, 134.97°)
OKLaboklab(49.28% -0.113 0.0925)
OKLCHoklch(49.28% 0.146 140.7)
XYZxyz(7.2364, 12.9833, 2.9351)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277417 #641774
analogous
#567417 #277417 #177435
triadic
#277417 #172774 #741727
tetradic
#277417 #175674 #641774 #743517
square
#277417 #175674 #641774 #743517
split-complementary
#277417 #351774 #741756
monochromatic
#091A05 #16410D #277417 #38A721 #4CD630

Accessibility & contrast

On white

5.84
#277417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#277417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277417
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277417#FFFFFF#000000##FFFFFF
##2774171.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776902
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#1A7062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #277417;
/* rgb */ color: rgb(39, 116, 23);
/* oklch */ color: oklch(49.3% 0.146 140.7);
Tailwind
colors: {
  custom: {
    50: '#6d9d5c',
    500: '#277417',
    950: '#000000',
  },
}
SCSS
$custom: #277417;
$custom-light: #6d9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#277417",
  "rgb": {
    "r": 39,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 109.677,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.14599,
    "h": 140.7
  },
  "luminance": 0.12984
}

Semantic roles & 50–950 ramp

primary
#277417
secondary
#973DA9
accent
#3EEACC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #277417

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

Preview Lab → · Contrast checker → · Palette generator →

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