#687018#687018

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

Color values

HEX#687018
RGBrgb(104, 112, 24)
HSLhsl(65, 65%, 27%)
HSVhsv(65, 79%, 44%)
CMYKcmyk(7.1%, 0%, 78.6%, 56.1%)
CIE-LABlab(45.08, -14.77, 44.45)
CIE-LCHlch(45.08, 46.84, 108.38°)
OKLaboklab(52.15% -0.0452 0.0978)
OKLCHoklch(52.15% 0.108 114.8)
XYZxyz(11.6683, 14.5976, 3.0669)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687018 #201870
analogous
#704C18 #687018 #3C7018
triadic
#687018 #186870 #701868
tetradic
#687018 #18704C #201870 #70183C
square
#687018 #18704C #201870 #70183C
split-complementary
#687018 #183C70 #4C1870
monochromatic
#171905 #393E0D #687018 #97A223 #C4D330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687018#FFFFFF#000000##FFFFFF
##6870181.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)
#796A04
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#6F695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #687018;
/* rgb */ color: rgb(104, 112, 24);
/* oklch */ color: oklch(52.1% 0.108 114.8);
Tailwind
colors: {
  custom: {
    50: '#96985d',
    500: '#687018',
    950: '#000000',
  },
}
SCSS
$custom: #687018;
$custom-light: #96985d;
$custom-dark: #000000;
JSON
{
  "hex": "#687018",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 65.455,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.10773,
    "h": 114.8
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#687018
secondary
#483EA5
accent
#40E84F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #687018

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

Preview Lab → · Contrast checker → · Palette generator →

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