#688D28#688D28

#688D28 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.5% C 0.134 H 127.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#688D28
RGBrgb(104, 141, 40)
HSLhsl(82, 56%, 35%)
HSVhsv(82, 72%, 55%)
CMYKcmyk(26.2%, 0%, 71.6%, 44.7%)
CIE-LABlab(54.18, -28.65, 47.26)
CIE-LCHlch(54.18, 55.26, 121.23°)
OKLaboklab(59.53% -0.0819 0.1065)
OKLCHoklch(59.53% 0.134 127.6)
XYZxyz(15.6168, 22.1457, 5.4588)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688D28 #4D288D
analogous
#8D7F28 #688D28 #368D28
triadic
#688D28 #28688D #8D2868
tetradic
#688D28 #288D7F #4D288D #8D2836
square
#688D28 #288D7F #4D288D #8D2836
split-complementary
#688D28 #28368D #7F288D
monochromatic
#222E0D #455D1A #688D28 #8BBD36 #A7D15E

Accessibility & contrast

On white

3.87
#688D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#688D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688D28
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688D28#FFFFFF#000000##000000
##688D281.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948318
Deuteranopia (green-blind)
#8F8131
Tritanopia (blue-blind)
#6C8679
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #688d28;
/* rgb */ color: rgb(104, 141, 40);
/* oklch */ color: oklch(59.5% 0.134 127.6);
Tailwind
colors: {
  custom: {
    50: '#96ae68',
    500: '#688d28',
    950: '#000000',
  },
}
SCSS
$custom: #688d28;
$custom-light: #96ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#688d28",
  "rgb": {
    "r": 104,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 81.98,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59528,
    "c": 0.13434,
    "h": 127.6
  },
  "luminance": 0.22146
}

Semantic roles & 50–950 ramp

primary
#688D28
secondary
#7C5AB7
accent
#49DF80
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #688D28

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

Preview Lab → · Contrast checker → · Palette generator →

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