#277017#277017

#277017 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.141 H 140.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#277017
RGBrgb(39, 112, 23)
HSLhsl(109, 66%, 26%)
HSVhsv(109, 79%, 44%)
CMYKcmyk(65.2%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.34, -39.76, 39.94)
CIE-LCHlch(41.34, 56.36, 134.87°)
OKLaboklab(48.12% -0.1089 0.0896)
OKLCHoklch(48.12% 0.141 140.5)
XYZxyz(6.7852, 12.0809, 2.7847)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277017 #601770
analogous
#547017 #277017 #177034
triadic
#277017 #172770 #701727
tetradic
#277017 #175470 #601770 #703417
square
#277017 #175470 #601770 #703417
split-complementary
#277017 #341770 #701754
monochromatic
#091905 #153D0D #277017 #39A321 #4BD42D

Accessibility & contrast

On white

6.15
#277017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#277017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277017
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277017#FFFFFF#000000##FFFFFF
##2770171.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#1C6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #277017;
/* rgb */ color: rgb(39, 112, 23);
/* oklch */ color: oklch(48.1% 0.141 140.5);
Tailwind
colors: {
  custom: {
    50: '#6c9a5b',
    500: '#277017',
    950: '#000000',
  },
}
SCSS
$custom: #277017;
$custom-light: #6c9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#277017",
  "rgb": {
    "r": 39,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 109.213,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48124,
    "c": 0.14104,
    "h": 140.5
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#277017
secondary
#933DA6
accent
#3FE9CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #277017

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

Preview Lab → · Contrast checker → · Palette generator →

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