#688D17#688D17

#688D17 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.144 H 126.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#688D17
RGBrgb(104, 141, 23)
HSLhsl(79, 72%, 32%)
HSVhsv(79, 84%, 55%)
CMYKcmyk(26.2%, 0%, 83.7%, 44.7%)
CIE-LABlab(54.08, -29.57, 52.96)
CIE-LCHlch(54.08, 60.66, 119.18°)
OKLaboklab(59.42% -0.0858 0.1157)
OKLCHoklch(59.42% 0.144 126.6)
XYZxyz(15.3885, 22.0544, 4.2566)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688D17 #3C178D
analogous
#8D7717 #688D17 #2D8D17
triadic
#688D17 #17688D #8D1768
tetradic
#688D17 #178D77 #3C178D #8D172D
square
#688D17 #178D77 #3C178D #8D172D
split-complementary
#688D17 #172D8D #77178D
monochromatic
#1A2406 #41580E #688D17 #8FC220 #ADE03F

Accessibility & contrast

On white

3.88
#688D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#688D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688D17
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688D17#FFFFFF#000000##000000
##688D171.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#6D8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #688d17;
/* rgb */ color: rgb(104, 141, 23);
/* oklch */ color: oklch(59.4% 0.144 126.6);
Tailwind
colors: {
  custom: {
    50: '#97ae61',
    500: '#688d17',
    950: '#000000',
  },
}
SCSS
$custom: #688d17;
$custom-light: #97ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#688d17",
  "rgb": {
    "r": 104,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 78.814,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.14398,
    "h": 126.6
  },
  "luminance": 0.22055
}

Semantic roles & 50–950 ramp

primary
#688D17
secondary
#6840C0
accent
#39EF72
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #688D17

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

Preview Lab → · Contrast checker → · Palette generator →

#688D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva