#676217#676217

#676217 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.6% C 0.093 H 105.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#676217
RGBrgb(103, 98, 23)
HSLhsl(56, 63%, 25%)
HSVhsv(56, 78%, 40%)
CMYKcmyk(0%, 4.9%, 77.7%, 59.6%)
CIE-LABlab(40.70, -7.46, 40.68)
CIE-LCHlch(40.70, 41.36, 100.40°)
OKLaboklab(48.63% -0.0248 0.0896)
OKLCHoklch(48.63% 0.093 105.5)
XYZxyz(10.1163, 11.6812, 2.5323)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676217 #171C67
analogous
#673A17 #676217 #446717
triadic
#676217 #176762 #621767
tetradic
#676217 #17673A #171C67 #671744
square
#676217 #17673A #171C67 #671744
split-complementary
#676217 #174467 #3A1767
monochromatic
#191806 #35320C #676217 #999222 #CBC12D

Accessibility & contrast

On white

6.29
#676217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#676217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676217
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676217#FFFFFF#000000##FFFFFF
##6762171.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#6F5B54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #676217;
/* rgb */ color: rgb(103, 98, 23);
/* oklch */ color: oklch(48.6% 0.093 105.5);
Tailwind
colors: {
  custom: {
    50: '#958e5a',
    500: '#676217',
    950: '#000000',
  },
}
SCSS
$custom: #676217;
$custom-light: #958e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#676217",
  "rgb": {
    "r": 103,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 56.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.48628,
    "c": 0.09302,
    "h": 105.5
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#676217
secondary
#3D439D
accent
#4CE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #676217

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

Preview Lab → · Contrast checker → · Palette generator →

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