#687211#687211

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

Color values

HEX#687211
RGBrgb(104, 114, 17)
HSLhsl(66, 74%, 26%)
HSVhsv(66, 85%, 45%)
CMYKcmyk(8.8%, 0%, 85.1%, 55.3%)
CIE-LABlab(45.66, -16.15, 47.23)
CIE-LCHlch(45.66, 49.92, 108.87°)
OKLaboklab(52.6% -0.0496 0.1024)
OKLCHoklch(52.6% 0.114 115.8)
XYZxyz(11.8278, 15.0183, 2.8060)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687211 #1B1172
analogous
#724B11 #687211 #377211
triadic
#687211 #116872 #721168
tetradic
#687211 #11724B #1B1172 #721137
square
#687211 #11724B #1B1172 #721137
split-complementary
#687211 #113772 #4B1172
monochromatic
#181B04 #373D09 #687211 #99A719 #C9DD21

Accessibility & contrast

On white

5.25
#687211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #687211
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687211#FFFFFF#000000##FFFFFF
##6872111.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #687211;
/* rgb */ color: rgb(104, 114, 17);
/* oklch */ color: oklch(52.6% 0.114 115.8);
Tailwind
colors: {
  custom: {
    50: '#969a5a',
    500: '#687211',
    950: '#000000',
  },
}
SCSS
$custom: #687211;
$custom-light: #969a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#687211",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 66.186,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.11375,
    "h": 115.8
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#687211
secondary
#4236A9
accent
#37F14A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687211

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

Preview Lab → · Contrast checker → · Palette generator →

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