#687112#687112

#687112 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.112 H 115.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#687112
RGBrgb(104, 113, 18)
HSLhsl(66, 73%, 26%)
HSVhsv(66, 84%, 44%)
CMYKcmyk(8%, 0%, 84.1%, 55.7%)
CIE-LABlab(45.36, -15.57, 46.68)
CIE-LCHlch(45.36, 49.20, 108.45°)
OKLaboklab(52.36% -0.0479 0.1014)
OKLCHoklch(52.36% 0.112 115.3)
XYZxyz(11.7236, 14.7972, 2.8107)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687112 #1B1271
analogous
#714A12 #687112 #387112
triadic
#687112 #126871 #711268
tetradic
#687112 #12714A #1B1271 #711238
square
#687112 #12714A #1B1271 #711238
split-complementary
#687112 #123871 #4A1271
monochromatic
#181A04 #373C0A #687112 #99A61A #C9DB23

Accessibility & contrast

On white

5.30
#687112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#687112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687112
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687112#FFFFFF#000000##FFFFFF
##6871121.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#6F6A60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #687112;
/* rgb */ color: rgb(104, 113, 18);
/* oklch */ color: oklch(52.4% 0.112 115.3);
Tailwind
colors: {
  custom: {
    50: '#96995a',
    500: '#687112',
    950: '#000000',
  },
}
SCSS
$custom: #687112;
$custom-light: #96995a;
$custom-dark: #000000;
JSON
{
  "hex": "#687112",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 65.684,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.11212,
    "h": 115.3
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#687112
secondary
#4237A8
accent
#39EF4A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #687112

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

Preview Lab → · Contrast checker → · Palette generator →

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