#677A17#677A17

#677A17 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.5% C 0.121 H 120.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#677A17
RGBrgb(103, 122, 23)
HSLhsl(72, 68%, 28%)
HSVhsv(72, 81%, 48%)
CMYKcmyk(15.6%, 0%, 81.1%, 52.2%)
CIE-LABlab(48.09, -20.57, 47.54)
CIE-LCHlch(48.09, 51.80, 113.40°)
OKLaboklab(54.55% -0.0612 0.1042)
OKLCHoklch(54.55% 0.121 120.4)
XYZxyz(12.7080, 16.8645, 3.3962)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677A17 #2A177A
analogous
#7A5B17 #677A17 #357A17
triadic
#677A17 #17677A #7A1767
tetradic
#677A17 #177A5B #2A177A #7A1735
square
#677A17 #177A5B #2A177A #7A1735
split-complementary
#677A17 #17357A #5B177A
monochromatic
#161A05 #3C470D #677A17 #92AD21 #B9D933

Accessibility & contrast

On white

4.80
#677A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#677A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677A17
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677A17#FFFFFF#000000##FFFFFF
##677A171.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#6D7368
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #677a17;
/* rgb */ color: rgb(103, 122, 23);
/* oklch */ color: oklch(54.5% 0.121 120.4);
Tailwind
colors: {
  custom: {
    50: '#96a05e',
    500: '#677a17',
    950: '#000000',
  },
}
SCSS
$custom: #677a17;
$custom-light: #96a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#677a17",
  "rgb": {
    "r": 103,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 71.515,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.12083,
    "h": 120.4
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#677A17
secondary
#543EAF
accent
#3DEB5E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #677A17

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

Preview Lab → · Contrast checker → · Palette generator →

#677A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva