#676C17#676C17

#676C17 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.104 H 113.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#676C17
RGBrgb(103, 108, 23)
HSLhsl(64, 65%, 26%)
HSVhsv(64, 79%, 42%)
CMYKcmyk(4.6%, 0%, 78.7%, 57.6%)
CIE-LABlab(43.76, -13.09, 43.55)
CIE-LCHlch(43.76, 45.48, 106.73°)
OKLaboklab(51.07% -0.0406 0.0957)
OKLCHoklch(51.07% 0.104 113)
XYZxyz(11.1111, 13.6708, 2.8639)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676C17 #1C176C
analogous
#6C4617 #676C17 #3C6C17
triadic
#676C17 #17676C #6C1767
tetradic
#676C17 #176C46 #1C176C #6C173C
square
#676C17 #176C46 #1C176C #6C173C
split-complementary
#676C17 #173C6C #46176C
monochromatic
#181905 #373A0C #676C17 #979E22 #C7D12C

Accessibility & contrast

On white

5.62
#676C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#676C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676C17
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676C17#FFFFFF#000000##FFFFFF
##676C171.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756704
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#6E655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #676c17;
/* rgb */ color: rgb(103, 108, 23);
/* oklch */ color: oklch(51.1% 0.104 113.0);
Tailwind
colors: {
  custom: {
    50: '#95955c',
    500: '#676c17',
    950: '#000000',
  },
}
SCSS
$custom: #676c17;
$custom-light: #95955c;
$custom-dark: #000000;
JSON
{
  "hex": "#676c17",
  "rgb": {
    "r": 103,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 63.529,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.10397,
    "h": 113
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#676C17
secondary
#433DA2
accent
#40E84A
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676C17

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

Preview Lab → · Contrast checker → · Palette generator →

#676C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva