#688D21#688D21

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

Color values

HEX#688D21
RGBrgb(104, 141, 33)
HSLhsl(81, 62%, 34%)
HSVhsv(81, 77%, 55%)
CMYKcmyk(26.2%, 0%, 76.6%, 44.7%)
CIE-LABlab(54.14, -29.09, 49.84)
CIE-LCHlch(54.14, 57.71, 120.27°)
OKLaboklab(59.48% -0.0837 0.1108)
OKLCHoklch(59.48% 0.139 127.1)
XYZxyz(15.5084, 22.1023, 4.8877)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688D21 #46218D
analogous
#8D7C21 #688D21 #328D21
triadic
#688D21 #21688D #8D2168
tetradic
#688D21 #218D7C #46218D #8D2132
square
#688D21 #218D7C #46218D #8D2132
split-complementary
#688D21 #21328D #7C218D
monochromatic
#1F2A0A #435B15 #688D21 #8DBF2D #A9D652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##688D21#FFFFFF#000000##000000
##688D211.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)
#948309
Deuteranopia (green-blind)
#8F812B
Tritanopia (blue-blind)
#6C8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #688d21;
/* rgb */ color: rgb(104, 141, 33);
/* oklch */ color: oklch(59.5% 0.139 127.1);
Tailwind
colors: {
  custom: {
    50: '#97ae65',
    500: '#688d21',
    950: '#000000',
  },
}
SCSS
$custom: #688d21;
$custom-light: #97ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#688d21",
  "rgb": {
    "r": 104,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 80.556,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59477,
    "c": 0.13883,
    "h": 127.1
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#688D21
secondary
#7450BA
accent
#43E57A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688D21

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

Preview Lab → · Contrast checker → · Palette generator →

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