#676817#676817

#676817 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.099 H 110.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#676817
RGBrgb(103, 104, 23)
HSLhsl(61, 64%, 25%)
HSVhsv(61, 78%, 41%)
CMYKcmyk(1%, 0%, 77.9%, 59.2%)
CIE-LABlab(42.53, -10.87, 42.40)
CIE-LCHlch(42.53, 43.77, 104.38°)
OKLaboklab(50.09% -0.0344 0.0933)
OKLCHoklch(50.09% 0.099 110.2)
XYZxyz(10.6989, 12.8464, 2.7265)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#676817 #181768
analogous
#684117 #676817 #3E6817
triadic
#676817 #176768 #681767
tetradic
#676817 #176841 #181768 #68173E
square
#676817 #176841 #181768 #68173E
split-complementary
#676817 #173E68 #411768
monochromatic
#191906 #35360C #676817 #999A22 #CACC2D

Accessibility & contrast

On white

5.88
#676817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#676817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #676817
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##676817#FFFFFF#000000##FFFFFF
##6768171.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716306
Deuteranopia (green-blind)
#72651E
Tritanopia (blue-blind)
#6F6159
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #676817;
/* rgb */ color: rgb(103, 104, 23);
/* oklch */ color: oklch(50.1% 0.099 110.2);
Tailwind
colors: {
  custom: {
    50: '#95925b',
    500: '#676817',
    950: '#000000',
  },
}
SCSS
$custom: #676817;
$custom-light: #95925b;
$custom-dark: #000000;
JSON
{
  "hex": "#676817",
  "rgb": {
    "r": 103,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 60.741,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.09942,
    "h": 110.2
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#676817
secondary
#3E3D9E
accent
#41E743
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #676817

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

Preview Lab → · Contrast checker → · Palette generator →

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