#687017#687017

#687017 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.1% C 0.108 H 114.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#687017
RGBrgb(104, 112, 23)
HSLhsl(65, 66%, 26%)
HSVhsv(65, 79%, 44%)
CMYKcmyk(7.1%, 0%, 79.5%, 56.1%)
CIE-LABlab(45.07, -14.82, 44.80)
CIE-LCHlch(45.07, 47.19, 108.30°)
OKLaboklab(52.14% -0.0454 0.0983)
OKLCHoklch(52.14% 0.108 114.8)
XYZxyz(11.6581, 14.5935, 3.0131)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687017 #1F1770
analogous
#704C17 #687017 #3C7017
triadic
#687017 #176870 #701768
tetradic
#687017 #17704C #1F1770 #70173C
square
#687017 #17704C #1F1770 #70173C
split-complementary
#687017 #173C70 #4C1770
monochromatic
#181905 #393D0D #687017 #97A321 #C5D42D

Accessibility & contrast

On white

5.36
#687017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#687017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687017
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687017#FFFFFF#000000##FFFFFF
##6870171.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#6F695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #687017;
/* rgb */ color: rgb(104, 112, 23);
/* oklch */ color: oklch(52.1% 0.108 114.8);
Tailwind
colors: {
  custom: {
    50: '#96985c',
    500: '#687017',
    950: '#000000',
  },
}
SCSS
$custom: #687017;
$custom-light: #96985c;
$custom-dark: #000000;
JSON
{
  "hex": "#687017",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 65.393,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.10831,
    "h": 114.8
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#687017
secondary
#463DA6
accent
#3FE94E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #687017

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

Preview Lab → · Contrast checker → · Palette generator →

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