#677917#677917

#677917 is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.3% C 0.120 H 120.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#677917
RGBrgb(103, 121, 23)
HSLhsl(71, 68%, 28%)
HSVhsv(71, 81%, 47%)
CMYKcmyk(14.9%, 0%, 81%, 52.5%)
CIE-LABlab(47.78, -20.05, 47.26)
CIE-LCHlch(47.78, 51.34, 112.99°)
OKLaboklab(54.3% -0.0598 0.1036)
OKLCHoklch(54.3% 0.12 120)
XYZxyz(12.5858, 16.6202, 3.3554)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677917 #291779
analogous
#795A17 #677917 #367917
triadic
#677917 #176779 #791767
tetradic
#677917 #17795A #291779 #791736
square
#677917 #17795A #291779 #791736
split-complementary
#677917 #173679 #5A1779
monochromatic
#161A05 #3B460D #677917 #93AC21 #BAD832

Accessibility & contrast

On white

4.86
#677917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#677917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677917
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677917#FFFFFF#000000##FFFFFF
##6779171.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#6D7267
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #677917;
/* rgb */ color: rgb(103, 121, 23);
/* oklch */ color: oklch(54.3% 0.120 120.0);
Tailwind
colors: {
  custom: {
    50: '#959f5e',
    500: '#677917',
    950: '#000000',
  },
}
SCSS
$custom: #677917;
$custom-light: #959f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#677917",
  "rgb": {
    "r": 103,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 71.02,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.11959,
    "h": 120
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#677917
secondary
#523EAE
accent
#3DEB5D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #677917

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

Preview Lab → · Contrast checker → · Palette generator →

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