#688D18#688D18

#688D18 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#688D18
RGBrgb(104, 141, 24)
HSLhsl(79, 71%, 32%)
HSVhsv(79, 83%, 55%)
CMYKcmyk(26.2%, 0%, 83%, 44.7%)
CIE-LABlab(54.09, -29.53, 52.68)
CIE-LCHlch(54.09, 60.39, 119.28°)
OKLaboklab(59.42% -0.0856 0.1152)
OKLCHoklch(59.42% 0.144 126.6)
XYZxyz(15.3988, 22.0585, 4.3104)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688D18 #3D188D
analogous
#8D7718 #688D18 #2E8D18
triadic
#688D18 #18688D #8D1868
tetradic
#688D18 #188D77 #3D188D #8D182E
square
#688D18 #188D77 #3D188D #8D182E
split-complementary
#688D18 #182E8D #77188D
monochromatic
#1B2406 #41590F #688D18 #8FC121 #ADDF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##688D18#FFFFFF#000000##000000
##688D181.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: #688d18;
/* rgb */ color: rgb(104, 141, 24);
/* oklch */ color: oklch(59.4% 0.144 126.6);
Tailwind
colors: {
  custom: {
    50: '#97ae61',
    500: '#688d18',
    950: '#000000',
  },
}
SCSS
$custom: #688d18;
$custom-light: #97ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#688d18",
  "rgb": {
    "r": 104,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 78.974,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.14354,
    "h": 126.6
  },
  "luminance": 0.22059
}

Semantic roles & 50–950 ramp

primary
#688D18
secondary
#6942BF
accent
#3AEE73
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1005
muted
#7E7F7A

Preview Lab

Preview with #688D18

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

Preview Lab → · Contrast checker → · Palette generator →

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