#277817#277817

#277817 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.151 H 140.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#277817
RGBrgb(39, 120, 23)
HSLhsl(110, 68%, 28%)
HSVhsv(110, 81%, 47%)
CMYKcmyk(67.5%, 0%, 80.8%, 52.9%)
CIE-LABlab(44.13, -42.74, 42.65)
CIE-LCHlch(44.13, 60.38, 135.07°)
OKLaboklab(50.43% -0.117 0.0953)
OKLCHoklch(50.43% 0.151 140.8)
XYZxyz(7.7074, 13.9254, 3.0921)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277817 #681778
analogous
#577817 #277817 #177837
triadic
#277817 #172778 #781727
tetradic
#277817 #175778 #681778 #783717
square
#277817 #175778 #681778 #783717
split-complementary
#277817 #371778 #781757
monochromatic
#081A05 #16450D #277817 #38AB21 #4DD832

Accessibility & contrast

On white

5.55
#277817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#277817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277817
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277817#FFFFFF#000000##FFFFFF
##2778171.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#197466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #277817;
/* rgb */ color: rgb(39, 120, 23);
/* oklch */ color: oklch(50.4% 0.151 140.8);
Tailwind
colors: {
  custom: {
    50: '#6da05c',
    500: '#277817',
    950: '#000000',
  },
}
SCSS
$custom: #277817;
$custom-light: #6da05c;
$custom-dark: #000000;
JSON
{
  "hex": "#277817",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 110.103,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50427,
    "c": 0.15085,
    "h": 140.8
  },
  "luminance": 0.13926
}

Semantic roles & 50–950 ramp

primary
#277817
secondary
#9B3EAD
accent
#3DEBCE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #277817

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

Preview Lab → · Contrast checker → · Palette generator →

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