#688D31#688D31

#688D31 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.6% C 0.128 H 128.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#688D31
RGBrgb(104, 141, 49)
HSLhsl(84, 48%, 37%)
HSVhsv(84, 65%, 55%)
CMYKcmyk(26.2%, 0%, 65.2%, 44.7%)
CIE-LABlab(54.25, -27.96, 43.52)
CIE-LCHlch(54.25, 51.73, 122.72°)
OKLaboklab(59.61% -0.0792 0.0999)
OKLCHoklch(59.61% 0.128 128.4)
XYZxyz(15.7881, 22.2142, 6.3611)
Luminance0.2221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688D31 #56318D
analogous
#8D8431 #688D31 #3A8D31
triadic
#688D31 #31688D #8D3168
tetradic
#688D31 #318D84 #56318D #8D313A
square
#688D31 #318D84 #56318D #8D313A
split-complementary
#688D31 #313A8D #84318D
monochromatic
#253211 #476021 #688D31 #8ABA41 #A6CC6C

Accessibility & contrast

On white

3.86
#688D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#688D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688D31
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688D31#FFFFFF#000000##000000
##688D311.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948326
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#6B877A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #688d31;
/* rgb */ color: rgb(104, 141, 49);
/* oklch */ color: oklch(59.6% 0.128 128.4);
Tailwind
colors: {
  custom: {
    50: '#96ae6e',
    500: '#688d31',
    950: '#000000',
  },
}
SCSS
$custom: #688d31;
$custom-light: #96ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#688d31",
  "rgb": {
    "r": 104,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 84.13,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5961,
    "c": 0.1275,
    "h": 128.4
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

primary
#688D31
secondary
#8566B4
accent
#50D887
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #688D31

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

Preview Lab → · Contrast checker → · Palette generator →

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