#688C1F#688C1F

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

Color values

HEX#688C1F
RGBrgb(104, 140, 31)
HSLhsl(80, 64%, 34%)
HSVhsv(80, 78%, 55%)
CMYKcmyk(25.7%, 0%, 77.9%, 45.1%)
CIE-LABlab(53.81, -28.72, 50.23)
CIE-LCHlch(53.81, 57.86, 119.76°)
OKLaboklab(59.21% -0.0829 0.1112)
OKLCHoklch(59.21% 0.139 126.7)
XYZxyz(15.3344, 21.7979, 4.6956)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688C1F #431F8C
analogous
#8C791F #688C1F #318C1F
triadic
#688C1F #1F688C #8C1F68
tetradic
#688C1F #1F8C79 #431F8C #8C1F31
square
#688C1F #1F8C79 #431F8C #8C1F31
split-complementary
#688C1F #1F318C #791F8C
monochromatic
#1E2809 #435A14 #688C1F #8DBE2A #AAD84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##688C1F#FFFFFF#000000##000000
##688C1F1.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)
#948204
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#6C8577
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #688c1f;
/* rgb */ color: rgb(104, 140, 31);
/* oklch */ color: oklch(59.2% 0.139 126.7);
Tailwind
colors: {
  custom: {
    50: '#97ad64',
    500: '#688c1f',
    950: '#000000',
  },
}
SCSS
$custom: #688c1f;
$custom-light: #97ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#688c1f",
  "rgb": {
    "r": 104,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 79.817,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.13871,
    "h": 126.7
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#688C1F
secondary
#714CBB
accent
#41E778
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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