#687311#687311

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

Color values

HEX#687311
RGBrgb(104, 115, 17)
HSLhsl(67, 74%, 26%)
HSVhsv(67, 85%, 45%)
CMYKcmyk(9.6%, 0%, 85.2%, 54.9%)
CIE-LABlab(45.97, -16.68, 47.50)
CIE-LCHlch(45.97, 50.35, 109.35°)
OKLaboklab(52.85% -0.051 0.103)
OKLCHoklch(52.85% 0.115 116.4)
XYZxyz(11.9412, 15.2452, 2.8438)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687311 #1C1173
analogous
#734D11 #687311 #377311
triadic
#687311 #116873 #731168
tetradic
#687311 #11734D #1C1173 #731137
square
#687311 #11734D #1C1173 #731137
split-complementary
#687311 #113773 #4D1173
monochromatic
#181B04 #383E09 #687311 #98A819 #C8DE21

Accessibility & contrast

On white

5.19
#687311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #687311
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687311#FFFFFF#000000##FFFFFF
##6873111.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #687311;
/* rgb */ color: rgb(104, 115, 17);
/* oklch */ color: oklch(52.9% 0.115 116.4);
Tailwind
colors: {
  custom: {
    50: '#969b5a',
    500: '#687311',
    950: '#000000',
  },
}
SCSS
$custom: #687311;
$custom-light: #969b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#687311",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 66.735,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.11492,
    "h": 116.4
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#687311
secondary
#4336AA
accent
#37F14C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687311

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

Preview Lab → · Contrast checker → · Palette generator →

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