#688D20#688D20

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

Color values

HEX#688D20
RGBrgb(104, 141, 32)
HSLhsl(80, 63%, 34%)
HSVhsv(80, 77%, 55%)
CMYKcmyk(26.2%, 0%, 77.3%, 44.7%)
CIE-LABlab(54.13, -29.14, 50.19)
CIE-LCHlch(54.13, 58.04, 120.14°)
OKLaboklab(59.47% -0.0839 0.1113)
OKLCHoklch(59.47% 0.139 127)
XYZxyz(15.4946, 22.0968, 4.8150)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688D20 #45208D
analogous
#8D7C20 #688D20 #328D20
triadic
#688D20 #20688D #8D2068
tetradic
#688D20 #208D7C #45208D #8D2032
square
#688D20 #208D7C #45208D #8D2032
split-complementary
#688D20 #20328D #7C208D
monochromatic
#1E2909 #435B15 #688D20 #8DBF2B #A9D750

Accessibility & contrast

On white

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

On black

5.42
#688D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688D20
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688D20#FFFFFF#000000##000000
##688D201.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958306
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#6C8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #688d20;
/* rgb */ color: rgb(104, 141, 32);
/* oklch */ color: oklch(59.5% 0.139 127.0);
Tailwind
colors: {
  custom: {
    50: '#97ae64',
    500: '#688d20',
    950: '#000000',
  },
}
SCSS
$custom: #688d20;
$custom-light: #97ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#688d20",
  "rgb": {
    "r": 104,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 80.367,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.13942,
    "h": 127
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#688D20
secondary
#734EBA
accent
#42E67A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688D20

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

Preview Lab → · Contrast checker → · Palette generator →

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