#687015#687015

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

Color values

HEX#687015
RGBrgb(104, 112, 21)
HSLhsl(65, 68%, 26%)
HSVhsv(65, 81%, 44%)
CMYKcmyk(7.1%, 0%, 81.2%, 56.1%)
CIE-LABlab(45.06, -14.91, 45.47)
CIE-LCHlch(45.06, 47.85, 108.15°)
OKLaboklab(52.13% -0.0458 0.0994)
OKLCHoklch(52.13% 0.109 114.8)
XYZxyz(11.6388, 14.5858, 2.9115)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687015 #1D1570
analogous
#704A15 #687015 #3A7015
triadic
#687015 #156870 #701568
tetradic
#687015 #15704A #1D1570 #70153A
square
#687015 #15704A #1D1570 #70153A
split-complementary
#687015 #153A70 #4A1570
monochromatic
#181A05 #383C0B #687015 #98A41F #C7D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687015#FFFFFF#000000##FFFFFF
##6870151.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)
#796A00
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#6F695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #687015;
/* rgb */ color: rgb(104, 112, 21);
/* oklch */ color: oklch(52.1% 0.109 114.8);
Tailwind
colors: {
  custom: {
    50: '#96985b',
    500: '#687015',
    950: '#000000',
  },
}
SCSS
$custom: #687015;
$custom-light: #96985b;
$custom-dark: #000000;
JSON
{
  "hex": "#687015",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 65.275,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.10944,
    "h": 114.8
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#687015
secondary
#443BA6
accent
#3DEB4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #687015

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

Preview Lab → · Contrast checker → · Palette generator →

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