#687215#687215

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

Color values

HEX#687215
RGBrgb(104, 114, 21)
HSLhsl(66, 69%, 26%)
HSVhsv(66, 82%, 45%)
CMYKcmyk(8.8%, 0%, 81.6%, 55.3%)
CIE-LABlab(45.68, -15.99, 46.03)
CIE-LCHlch(45.68, 48.73, 109.15°)
OKLaboklab(52.62% -0.0488 0.1006)
OKLCHoklch(52.62% 0.112 115.9)
XYZxyz(11.8619, 15.0320, 2.9859)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687215 #1F1572
analogous
#724E15 #687215 #3A7215
triadic
#687215 #156872 #721568
tetradic
#687215 #15724E #1F1572 #72153A
square
#687215 #15724E #1F1572 #72153A
split-complementary
#687215 #153A72 #4E1572
monochromatic
#181A05 #393E0B #687215 #97A61F #C5D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##687215#FFFFFF#000000##FFFFFF
##6872151.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)
#7B6C00
Deuteranopia (green-blind)
#7A6D1E
Tritanopia (blue-blind)
#6F6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #687215;
/* rgb */ color: rgb(104, 114, 21);
/* oklch */ color: oklch(52.6% 0.112 115.9);
Tailwind
colors: {
  custom: {
    50: '#969a5c',
    500: '#687215',
    950: '#000000',
  },
}
SCSS
$custom: #687215;
$custom-light: #969a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#687215",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 66.452,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52624,
    "c": 0.11178,
    "h": 115.9
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#687215
secondary
#463BA8
accent
#3CEC4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #687215

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

Preview Lab → · Contrast checker → · Palette generator →

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