#688C21#688C21

#688C21 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.138 H 126.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#688C21
RGBrgb(104, 140, 33)
HSLhsl(80, 62%, 34%)
HSVhsv(80, 76%, 55%)
CMYKcmyk(25.7%, 0%, 76.4%, 45.1%)
CIE-LABlab(53.82, -28.61, 49.54)
CIE-LCHlch(53.82, 57.21, 120.00°)
OKLaboklab(59.22% -0.0824 0.1101)
OKLCHoklch(59.22% 0.138 126.8)
XYZxyz(15.3616, 21.8087, 4.8387)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688C21 #45218C
analogous
#8C7B21 #688C21 #338C21
triadic
#688C21 #21688C #8C2168
tetradic
#688C21 #218C7B #45218C #8C2133
square
#688C21 #218C7B #45218C #8C2133
split-complementary
#688C21 #21338C #7B218C
monochromatic
#1E290A #435A15 #688C21 #8DBE2D #A9D651

Accessibility & contrast

On white

3.92
#688C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#688C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688C21
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688C21#FFFFFF#000000##000000
##688C211.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948209
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#6C8578
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #688c21;
/* rgb */ color: rgb(104, 140, 33);
/* oklch */ color: oklch(59.2% 0.138 126.8);
Tailwind
colors: {
  custom: {
    50: '#97ad65',
    500: '#688c21',
    950: '#000000',
  },
}
SCSS
$custom: #688c21;
$custom-light: #97ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#688c21",
  "rgb": {
    "r": 104,
    "g": 140,
    "b": 33
  },
  "hsl": {
    "h": 80.187,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59224,
    "c": 0.13754,
    "h": 126.8
  },
  "luminance": 0.21809
}

Semantic roles & 50–950 ramp

primary
#688C21
secondary
#734FB9
accent
#43E579
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688C21

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

Preview Lab → · Contrast checker → · Palette generator →

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