#687218#687218

#687218 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.6% C 0.110 H 115.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#687218
RGBrgb(104, 114, 24)
HSLhsl(67, 65%, 27%)
HSVhsv(67, 79%, 45%)
CMYKcmyk(8.8%, 0%, 78.9%, 55.3%)
CIE-LABlab(45.69, -15.85, 45.03)
CIE-LCHlch(45.69, 47.74, 109.39°)
OKLaboklab(52.64% -0.0482 0.099)
OKLCHoklch(52.64% 0.11 115.9)
XYZxyz(11.8914, 15.0438, 3.1413)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687218 #221872
analogous
#724F18 #687218 #3B7218
triadic
#687218 #186872 #721868
tetradic
#687218 #18724F #221872 #72183B
square
#687218 #18724F #221872 #72183B
split-complementary
#687218 #183B72 #4F1872
monochromatic
#171905 #3A3F0D #687218 #96A523 #C2D431

Accessibility & contrast

On white

5.24
#687218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#687218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687218
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687218#FFFFFF#000000##FFFFFF
##6872181.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C03
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#6F6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #687218;
/* rgb */ color: rgb(104, 114, 24);
/* oklch */ color: oklch(52.6% 0.110 115.9);
Tailwind
colors: {
  custom: {
    50: '#969a5d',
    500: '#687218',
    950: '#000000',
  },
}
SCSS
$custom: #687218;
$custom-light: #969a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#687218",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 66.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.11011,
    "h": 115.9
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#687218
secondary
#4A3EA7
accent
#40E852
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687218

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

Preview Lab → · Contrast checker → · Palette generator →

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