#687213#687213

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

Color values

HEX#687213
RGBrgb(104, 114, 19)
HSLhsl(66, 71%, 26%)
HSVhsv(66, 83%, 45%)
CMYKcmyk(8.8%, 0%, 83.3%, 55.3%)
CIE-LABlab(45.67, -16.07, 46.65)
CIE-LCHlch(45.67, 49.34, 109.01°)
OKLaboklab(52.61% -0.0492 0.1015)
OKLCHoklch(52.61% 0.113 115.9)
XYZxyz(11.8441, 15.0249, 2.8921)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687213 #1D1372
analogous
#724C13 #687213 #387213
triadic
#687213 #136872 #721368
tetradic
#687213 #13724C #1D1372 #721338
square
#687213 #13724C #1D1372 #721338
split-complementary
#687213 #133872 #4C1372
monochromatic
#181A04 #383E0A #687213 #98A61C #C7DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687213#FFFFFF#000000##FFFFFF
##6872131.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: #687213;
/* rgb */ color: rgb(104, 114, 19);
/* oklch */ color: oklch(52.6% 0.113 115.9);
Tailwind
colors: {
  custom: {
    50: '#969a5b',
    500: '#687213',
    950: '#000000',
  },
}
SCSS
$custom: #687213;
$custom-light: #969a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#687213",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 66.316,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52613,
    "c": 0.1128,
    "h": 115.9
  },
  "luminance": 0.15025
}

Semantic roles & 50–950 ramp

primary
#687213
secondary
#4438A9
accent
#3AEE4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687213

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

Preview Lab → · Contrast checker → · Palette generator →

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