#676D17#676D17

#676D17 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.105 H 113.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#676D17
RGBrgb(103, 109, 23)
HSLhsl(64, 65%, 26%)
HSVhsv(64, 79%, 43%)
CMYKcmyk(5.5%, 0%, 78.9%, 57.3%)
CIE-LABlab(44.06, -13.64, 43.84)
CIE-LCHlch(44.06, 45.91, 107.29°)
OKLaboklab(51.31% -0.0421 0.0963)
OKLCHoklch(51.31% 0.105 113.6)
XYZxyz(11.2172, 13.8829, 2.8992)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676D17 #1D176D
analogous
#6D4817 #676D17 #3C6D17
triadic
#676D17 #17676D #6D1767
tetradic
#676D17 #176D48 #1D176D #6D173C
square
#676D17 #176D48 #1D176D #6D173C
split-complementary
#676D17 #173C6D #48176D
monochromatic
#181905 #373A0C #676D17 #97A022 #C7D22C

Accessibility & contrast

On white

5.56
#676D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#676D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676D17
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676D17#FFFFFF#000000##FFFFFF
##676D171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766704
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#6E665D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #676d17;
/* rgb */ color: rgb(103, 109, 23);
/* oklch */ color: oklch(51.3% 0.105 113.6);
Tailwind
colors: {
  custom: {
    50: '#95965c',
    500: '#676d17',
    950: '#000000',
  },
}
SCSS
$custom: #676d17;
$custom-light: #95965c;
$custom-dark: #000000;
JSON
{
  "hex": "#676d17",
  "rgb": {
    "r": 103,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 64.186,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.10512,
    "h": 113.6
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#676D17
secondary
#443DA3
accent
#40E84B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #676D17

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

Preview Lab → · Contrast checker → · Palette generator →

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