#687331#687331

#687331 is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 53.1% C 0.091 H 117.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#687331
RGBrgb(104, 115, 49)
HSLhsl(70, 40%, 32%)
HSVhsv(70, 57%, 45%)
CMYKcmyk(9.6%, 0%, 57.4%, 54.9%)
CIE-LABlab(46.21, -14.61, 34.56)
CIE-LCHlch(46.21, 37.52, 112.91°)
OKLaboklab(53.13% -0.0421 0.0808)
OKLCHoklch(53.13% 0.091 117.5)
XYZxyz(12.3942, 15.4264, 5.2298)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687331 #3C3173
analogous
#735D31 #687331 #477331
triadic
#687331 #316873 #733168
tetradic
#687331 #31735D #3C3173 #733147
square
#687331 #31735D #3C3173 #733147
split-complementary
#687331 #314773 #5D3173
monochromatic
#1A1D0C #41481F #687331 #8F9E43 #ADBC62

Accessibility & contrast

On white

5.14
#687331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#687331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #687331
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687331#FFFFFF#000000##FFFFFF
##6873311.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2A
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#6E6D64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #687331;
/* rgb */ color: rgb(104, 115, 49);
/* oklch */ color: oklch(53.1% 0.091 117.5);
Tailwind
colors: {
  custom: {
    50: '#959b6b',
    500: '#687331',
    950: '#000000',
  },
}
SCSS
$custom: #687331;
$custom-light: #959b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#687331",
  "rgb": {
    "r": 104,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 70,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53126,
    "c": 0.0911,
    "h": 117.5
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#687331
secondary
#685CA4
accent
#58D06C
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E07
muted
#7E7E7A

Preview Lab

Preview with #687331

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

Preview Lab → · Contrast checker → · Palette generator →

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