#687612#687612

#687612 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.6% C 0.118 H 117.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#687612
RGBrgb(104, 118, 18)
HSLhsl(68, 74%, 27%)
HSVhsv(68, 85%, 46%)
CMYKcmyk(11.9%, 0%, 84.7%, 53.7%)
CIE-LABlab(46.90, -18.24, 48.03)
CIE-LCHlch(46.90, 51.38, 110.79°)
OKLaboklab(53.6% -0.0552 0.1043)
OKLCHoklch(53.6% 0.118 117.9)
XYZxyz(12.2968, 15.9437, 3.0018)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687612 #201276
analogous
#765212 #687612 #367612
triadic
#687612 #126876 #761268
tetradic
#687612 #127652 #201276 #761236
square
#687612 #127652 #201276 #761236
split-complementary
#687612 #123676 #521276
monochromatic
#171B04 #39410A #687612 #97AB1A #C4DE25

Accessibility & contrast

On white

5.01
#687612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#687612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687612
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687612#FFFFFF#000000##FFFFFF
##6876121.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#7D701D
Tritanopia (blue-blind)
#6F6F64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #687612;
/* rgb */ color: rgb(104, 118, 18);
/* oklch */ color: oklch(53.6% 0.118 117.9);
Tailwind
colors: {
  custom: {
    50: '#969d5b',
    500: '#687612',
    950: '#000000',
  },
}
SCSS
$custom: #687612;
$custom-light: #969d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#687612",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 68.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.11801,
    "h": 117.9
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#687612
secondary
#4837AD
accent
#38F051
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687612

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

Preview Lab → · Contrast checker → · Palette generator →

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