#687618#687618

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

Color values

HEX#687618
RGBrgb(104, 118, 24)
HSLhsl(69, 66%, 28%)
HSVhsv(69, 80%, 46%)
CMYKcmyk(11.9%, 0%, 79.7%, 53.7%)
CIE-LABlab(46.93, -17.98, 46.17)
CIE-LCHlch(46.93, 49.55, 111.28°)
OKLaboklab(53.64% -0.0541 0.1014)
OKLCHoklch(53.64% 0.115 118.1)
XYZxyz(12.3525, 15.9660, 3.2950)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687618 #261876
analogous
#765518 #687618 #397618
triadic
#687618 #186876 #761868
tetradic
#687618 #187655 #261876 #761839
square
#687618 #187655 #261876 #761839
split-complementary
#687618 #183976 #551876
monochromatic
#161905 #3B430E #687618 #95A922 #BDD533

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687618#FFFFFF#000000##FFFFFF
##6876181.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)
#7E6F01
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#6F6F64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #687618;
/* rgb */ color: rgb(104, 118, 24);
/* oklch */ color: oklch(53.6% 0.115 118.1);
Tailwind
colors: {
  custom: {
    50: '#969d5e',
    500: '#687618',
    950: '#000000',
  },
}
SCSS
$custom: #687618;
$custom-light: #969d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#687618",
  "rgb": {
    "r": 104,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 68.936,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53636,
    "c": 0.11495,
    "h": 118.1
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#687618
secondary
#4F3FAB
accent
#3FE958
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #687618

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

Preview Lab → · Contrast checker → · Palette generator →

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