#687315#687315

#687315 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 52.9% C 0.113 H 116.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#687315
RGBrgb(104, 115, 21)
HSLhsl(67, 69%, 27%)
HSVhsv(67, 82%, 45%)
CMYKcmyk(9.6%, 0%, 81.7%, 54.9%)
CIE-LABlab(45.99, -16.52, 46.31)
CIE-LCHlch(45.99, 49.17, 109.64°)
OKLaboklab(52.87% -0.0503 0.1012)
OKLCHoklch(52.87% 0.113 116.4)
XYZxyz(11.9753, 15.2588, 3.0237)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687315 #201573
analogous
#734F15 #687315 #397315
triadic
#687315 #156873 #731568
tetradic
#687315 #15734F #201573 #731539
square
#687315 #15734F #201573 #731539
split-complementary
#687315 #153973 #4F1573
monochromatic
#171A05 #393F0C #687315 #97A71E #C4D82A

Accessibility & contrast

On white

5.18
#687315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#687315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687315
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687315#FFFFFF#000000##FFFFFF
##6873151.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#6F6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #687315;
/* rgb */ color: rgb(104, 115, 21);
/* oklch */ color: oklch(52.9% 0.113 116.4);
Tailwind
colors: {
  custom: {
    50: '#969b5c',
    500: '#687315',
    950: '#000000',
  },
}
SCSS
$custom: #687315;
$custom-light: #969b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#687315",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 67.021,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.11297,
    "h": 116.4
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#687315
secondary
#483BA9
accent
#3CEC50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687315

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

Preview Lab → · Contrast checker → · Palette generator →

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