#688B1F#688B1F

#688B1F is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 59.0% C 0.137 H 126.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#688B1F
RGBrgb(104, 139, 31)
HSLhsl(79, 64%, 33%)
HSVhsv(79, 78%, 55%)
CMYKcmyk(25.2%, 0%, 77.7%, 45.5%)
CIE-LABlab(53.50, -28.24, 49.93)
CIE-LCHlch(53.50, 57.37, 119.49°)
OKLaboklab(58.96% -0.0816 0.1106)
OKLCHoklch(58.96% 0.137 126.4)
XYZxyz(15.1889, 21.5070, 4.6471)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688B1F #421F8B
analogous
#8B781F #688B1F #328B1F
triadic
#688B1F #1F688B #8B1F68
tetradic
#688B1F #1F8B78 #421F8B #8B1F32
square
#688B1F #1F8B78 #421F8B #8B1F32
split-complementary
#688B1F #1F328B #781F8B
monochromatic
#1D2709 #435914 #688B1F #8DBD2A #ABD74D

Accessibility & contrast

On white

3.96
#688B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#688B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688B1F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688B1F#FFFFFF#000000##000000
##688B1F1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938105
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#6D8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #688b1f;
/* rgb */ color: rgb(104, 139, 31);
/* oklch */ color: oklch(59.0% 0.137 126.4);
Tailwind
colors: {
  custom: {
    50: '#97ad64',
    500: '#688b1f',
    950: '#000000',
  },
}
SCSS
$custom: #688b1f;
$custom-light: #97ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#688b1f",
  "rgb": {
    "r": 104,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 79.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.13743,
    "h": 126.4
  },
  "luminance": 0.21507
}

Semantic roles & 50–950 ramp

primary
#688B1F
secondary
#6F4CBA
accent
#41E777
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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