#687D15#687D15

#687D15 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.4% C 0.125 H 121.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#687D15
RGBrgb(104, 125, 21)
HSLhsl(72, 71%, 29%)
HSVhsv(72, 83%, 49%)
CMYKcmyk(16.8%, 0%, 83.2%, 51%)
CIE-LABlab(49.09, -21.76, 49.09)
CIE-LCHlch(49.09, 53.69, 113.91°)
OKLaboklab(55.37% -0.0647 0.1071)
OKLCHoklch(55.37% 0.125 121.1)
XYZxyz(13.1781, 17.6644, 3.4247)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#687D15 #2A157D
analogous
#7D5E15 #687D15 #347D15
triadic
#687D15 #15687D #7D1568
tetradic
#687D15 #157D5E #2A157D #7D1534
square
#687D15 #157D5E #2A157D #7D1534
split-complementary
#687D15 #15347D #5E157D
monochromatic
#161A04 #3C490C #687D15 #94B11E #B9DC30

Accessibility & contrast

On white

4.63
#687D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#687D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #687D15
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##687D15#FFFFFF#000000##FFFFFF
##687D151.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#6E766A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #687d15;
/* rgb */ color: rgb(104, 125, 21);
/* oklch */ color: oklch(55.4% 0.125 121.1);
Tailwind
colors: {
  custom: {
    50: '#96a25d',
    500: '#687d15',
    950: '#000000',
  },
}
SCSS
$custom: #687d15;
$custom-light: #96a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#687d15",
  "rgb": {
    "r": 104,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 72.115,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.12508,
    "h": 121.1
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

primary
#687D15
secondary
#543CB2
accent
#3AEE5E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #687D15

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

Preview Lab → · Contrast checker → · Palette generator →

#687D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva