#688C31#688C31

#688C31 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.4% C 0.126 H 128.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#688C31
RGBrgb(104, 140, 49)
HSLhsl(84, 48%, 37%)
HSVhsv(84, 65%, 55%)
CMYKcmyk(25.7%, 0%, 65%, 45.1%)
CIE-LABlab(53.94, -27.48, 43.19)
CIE-LCHlch(53.94, 51.19, 122.47°)
OKLaboklab(59.36% -0.0779 0.0992)
OKLCHoklch(59.36% 0.126 128.1)
XYZxyz(15.6413, 21.9207, 6.3122)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688C31 #55318C
analogous
#8C8331 #688C31 #3B8C31
triadic
#688C31 #31688C #8C3168
tetradic
#688C31 #318C83 #55318C #8C313B
square
#688C31 #318C83 #55318C #8C313B
split-complementary
#688C31 #313B8C #83318C
monochromatic
#253111 #465F21 #688C31 #8AB941 #A6CC6C

Accessibility & contrast

On white

3.90
#688C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#688C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688C31
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688C31#FFFFFF#000000##000000
##688C311.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938326
Deuteranopia (green-blind)
#8E8038
Tritanopia (blue-blind)
#6B8679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #688c31;
/* rgb */ color: rgb(104, 140, 49);
/* oklch */ color: oklch(59.4% 0.126 128.1);
Tailwind
colors: {
  custom: {
    50: '#96ad6d',
    500: '#688c31',
    950: '#000000',
  },
}
SCSS
$custom: #688c31;
$custom-light: #96ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#688c31",
  "rgb": {
    "r": 104,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 83.736,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59358,
    "c": 0.12612,
    "h": 128.1
  },
  "luminance": 0.21921
}

Semantic roles & 50–950 ramp

primary
#688C31
secondary
#8466B3
accent
#50D886
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #688C31

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

Preview Lab → · Contrast checker → · Palette generator →

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