#688A1F#688A1F

#688A1F is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.136 H 126.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#688A1F
RGBrgb(104, 138, 31)
HSLhsl(79, 63%, 33%)
HSVhsv(79, 78%, 54%)
CMYKcmyk(24.6%, 0%, 77.5%, 45.9%)
CIE-LABlab(53.19, -27.75, 49.64)
CIE-LCHlch(53.19, 56.87, 119.21°)
OKLaboklab(58.7% -0.0802 0.11)
OKLCHoklch(58.7% 0.136 126.1)
XYZxyz(15.0448, 21.2187, 4.5990)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688A1F #411F8A
analogous
#8A761F #688A1F #338A1F
triadic
#688A1F #1F688A #8A1F68
tetradic
#688A1F #1F8A76 #411F8A #8A1F33
square
#688A1F #1F8A76 #411F8A #8A1F33
split-complementary
#688A1F #1F338A #761F8A
monochromatic
#1D2609 #425814 #688A1F #8EBC2A #ABD74C

Accessibility & contrast

On white

4.00
#688A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#688A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688A1F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688A1F#FFFFFF#000000##000000
##688A1F1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#6D8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #688a1f;
/* rgb */ color: rgb(104, 138, 31);
/* oklch */ color: oklch(58.7% 0.136 126.1);
Tailwind
colors: {
  custom: {
    50: '#97ac64',
    500: '#688a1f',
    950: '#000000',
  },
}
SCSS
$custom: #688a1f;
$custom-light: #97ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#688a1f",
  "rgb": {
    "r": 104,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 79.065,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58704,
    "c": 0.13615,
    "h": 126.1
  },
  "luminance": 0.21219
}

Semantic roles & 50–950 ramp

primary
#688A1F
secondary
#6E4BBA
accent
#41E676
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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