#688F1F#688F1F

#688F1F is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.143 H 127.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#688F1F
RGBrgb(104, 143, 31)
HSLhsl(81, 64%, 34%)
HSVhsv(81, 78%, 56%)
CMYKcmyk(27.3%, 0%, 78.3%, 43.9%)
CIE-LABlab(54.75, -30.15, 51.11)
CIE-LCHlch(54.75, 59.34, 120.53°)
OKLaboklab(59.97% -0.0868 0.1131)
OKLCHoklch(59.97% 0.143 127.5)
XYZxyz(15.7787, 22.6866, 4.8437)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688F1F #461F8F
analogous
#8F7E1F #688F1F #308F1F
triadic
#688F1F #1F688F #8F1F68
tetradic
#688F1F #1F8F7E #461F8F #8F1F30
square
#688F1F #1F8F7E #461F8F #8F1F30
split-complementary
#688F1F #1F308F #7E1F8F
monochromatic
#1F2A09 #435D14 #688F1F #8DC12A #A9D94F

Accessibility & contrast

On white

3.79
#688F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#688F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688F1F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688F1F#FFFFFF#000000##000000
##688F1F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978502
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#6C887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #688f1f;
/* rgb */ color: rgb(104, 143, 31);
/* oklch */ color: oklch(60.0% 0.143 127.5);
Tailwind
colors: {
  custom: {
    50: '#97b064',
    500: '#688f1f',
    950: '#000000',
  },
}
SCSS
$custom: #688f1f;
$custom-light: #97b064;
$custom-dark: #000000;
JSON
{
  "hex": "#688f1f",
  "rgb": {
    "r": 104,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 80.893,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5997,
    "c": 0.14254,
    "h": 127.5
  },
  "luminance": 0.22687
}

Semantic roles & 50–950 ramp

primary
#688F1F
secondary
#744EBC
accent
#40E77B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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