#688D1F#688D1F

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

Color values

HEX#688D1F
RGBrgb(104, 141, 31)
HSLhsl(80, 64%, 34%)
HSVhsv(80, 78%, 55%)
CMYKcmyk(26.2%, 0%, 78%, 44.7%)
CIE-LABlab(54.12, -29.20, 50.52)
CIE-LCHlch(54.12, 58.35, 120.02°)
OKLaboklab(59.46% -0.0842 0.1119)
OKLCHoklch(59.46% 0.14 127)
XYZxyz(15.4812, 22.0914, 4.7445)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688D1F #441F8D
analogous
#8D7B1F #688D1F #318D1F
triadic
#688D1F #1F688D #8D1F68
tetradic
#688D1F #1F8D7B #441F8D #8D1F31
square
#688D1F #1F8D7B #441F8D #8D1F31
split-complementary
#688D1F #1F318D #7B1F8D
monochromatic
#1E2909 #435B14 #688D1F #8DBF2A #AAD84E

Accessibility & contrast

On white

3.88
#688D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##688D1F#FFFFFF#000000##000000
##688D1F1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#6C8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #688d1f;
/* rgb */ color: rgb(104, 141, 31);
/* oklch */ color: oklch(59.5% 0.140 127.0);
Tailwind
colors: {
  custom: {
    50: '#97ae64',
    500: '#688d1f',
    950: '#000000',
  },
}
SCSS
$custom: #688d1f;
$custom-light: #97ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#688d1f",
  "rgb": {
    "r": 104,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 80.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.13999,
    "h": 127
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#688D1F
secondary
#724DBB
accent
#41E779
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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