#688E1F#688E1F

#688E1F is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.141 H 127.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#688E1F
RGBrgb(104, 142, 31)
HSLhsl(81, 64%, 34%)
HSVhsv(81, 78%, 56%)
CMYKcmyk(26.8%, 0%, 78.2%, 44.3%)
CIE-LABlab(54.44, -29.67, 50.82)
CIE-LCHlch(54.44, 58.85, 120.28°)
OKLaboklab(59.72% -0.0855 0.1125)
OKLCHoklch(59.72% 0.141 127.2)
XYZxyz(15.6293, 22.3877, 4.7939)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688E1F #451F8E
analogous
#8E7D1F #688E1F #308E1F
triadic
#688E1F #1F688E #8E1F68
tetradic
#688E1F #1F8E7D #451F8E #8E1F30
square
#688E1F #1F8E7D #451F8E #8E1F30
split-complementary
#688E1F #1F308E #7D1F8E
monochromatic
#1E2A09 #435C14 #688E1F #8DC02A #A9D94F

Accessibility & contrast

On white

3.83
#688E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#688E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688E1F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688E1F#FFFFFF#000000##000000
##688E1F1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968403
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#6C8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #688e1f;
/* rgb */ color: rgb(104, 142, 31);
/* oklch */ color: oklch(59.7% 0.141 127.2);
Tailwind
colors: {
  custom: {
    50: '#97af64',
    500: '#688e1f',
    950: '#000000',
  },
}
SCSS
$custom: #688e1f;
$custom-light: #97af64;
$custom-dark: #000000;
JSON
{
  "hex": "#688e1f",
  "rgb": {
    "r": 104,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 80.541,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59717,
    "c": 0.14126,
    "h": 127.2
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#688E1F
secondary
#734DBB
accent
#41E77A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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