#687212#687212

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

Color values

HEX#687212
RGBrgb(104, 114, 18)
HSLhsl(66, 73%, 26%)
HSVhsv(66, 84%, 45%)
CMYKcmyk(8.8%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.66, -16.11, 46.95)
CIE-LCHlch(45.66, 49.63, 108.94°)
OKLaboklab(52.61% -0.0494 0.102)
OKLCHoklch(52.61% 0.113 115.8)
XYZxyz(11.8358, 15.0215, 2.8481)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687212 #1C1272
analogous
#724C12 #687212 #387212
triadic
#687212 #126872 #721268
tetradic
#687212 #12724C #1C1272 #721238
square
#687212 #12724C #1C1272 #721238
split-complementary
#687212 #123872 #4C1272
monochromatic
#181A04 #383D0A #687212 #98A71A #C8DC23

Accessibility & contrast

On white

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

On black

4.00
#687212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##687212#FFFFFF#000000##FFFFFF
##6872121.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #687212;
/* rgb */ color: rgb(104, 114, 18);
/* oklch */ color: oklch(52.6% 0.113 115.8);
Tailwind
colors: {
  custom: {
    50: '#969a5a',
    500: '#687212',
    950: '#000000',
  },
}
SCSS
$custom: #687212;
$custom-light: #969a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#687212",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 66.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.11328,
    "h": 115.8
  },
  "luminance": 0.15021
}

Semantic roles & 50–950 ramp

primary
#687212
secondary
#4337A9
accent
#38EF4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687212

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

Preview Lab → · Contrast checker → · Palette generator →

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