#687312#687312

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

Color values

HEX#687312
RGBrgb(104, 115, 18)
HSLhsl(67, 73%, 26%)
HSVhsv(67, 84%, 45%)
CMYKcmyk(9.6%, 0%, 84.3%, 54.9%)
CIE-LABlab(45.97, -16.64, 47.22)
CIE-LCHlch(45.97, 50.07, 109.42°)
OKLaboklab(52.86% -0.0509 0.1025)
OKLCHoklch(52.86% 0.114 116.4)
XYZxyz(11.9492, 15.2484, 2.8859)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687312 #1D1273
analogous
#734D12 #687312 #377312
triadic
#687312 #126873 #731268
tetradic
#687312 #12734D #1D1273 #731237
square
#687312 #12734D #1D1273 #731237
split-complementary
#687312 #123773 #4D1273
monochromatic
#181A04 #383E0A #687312 #98A81A #C7DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687312#FFFFFF#000000##FFFFFF
##6873121.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)
#7B6D1C
Tritanopia (blue-blind)
#6F6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #687312;
/* rgb */ color: rgb(104, 115, 18);
/* oklch */ color: oklch(52.9% 0.114 116.4);
Tailwind
colors: {
  custom: {
    50: '#969b5b',
    500: '#687312',
    950: '#000000',
  },
}
SCSS
$custom: #687312;
$custom-light: #969b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#687312",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 66.804,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52856,
    "c": 0.11445,
    "h": 116.4
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

primary
#687312
secondary
#4437AA
accent
#38F04D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687312

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

Preview Lab → · Contrast checker → · Palette generator →

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