#688A28#688A28

#688A28 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.130 H 126.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#688A28
RGBrgb(104, 138, 40)
HSLhsl(81, 55%, 35%)
HSVhsv(81, 71%, 54%)
CMYKcmyk(24.6%, 0%, 71%, 45.9%)
CIE-LABlab(53.25, -27.20, 46.31)
CIE-LCHlch(53.25, 53.70, 120.43°)
OKLaboklab(58.77% -0.0779 0.1045)
OKLCHoklch(58.77% 0.13 126.7)
XYZxyz(15.1804, 21.2730, 5.3134)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688A28 #4A288A
analogous
#8A7B28 #688A28 #378A28
triadic
#688A28 #28688A #8A2868
tetradic
#688A28 #288A7B #4A288A #8A2837
square
#688A28 #288A7B #4A288A #8A2837
split-complementary
#688A28 #28378A #7B288A
monochromatic
#202B0C #445B1A #688A28 #8CB936 #A8D05D

Accessibility & contrast

On white

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

On black

5.25
#688A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688A28
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688A28#FFFFFF#000000##000000
##688A281.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918119
Deuteranopia (green-blind)
#8D7F30
Tritanopia (blue-blind)
#6C8377
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #688a28;
/* rgb */ color: rgb(104, 138, 40);
/* oklch */ color: oklch(58.8% 0.130 126.7);
Tailwind
colors: {
  custom: {
    50: '#96ac68',
    500: '#688a28',
    950: '#000000',
  },
}
SCSS
$custom: #688a28;
$custom-light: #96ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#688a28",
  "rgb": {
    "r": 104,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 80.816,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.13034,
    "h": 126.7
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#688A28
secondary
#7959B5
accent
#49DE7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #688A28

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

Preview Lab → · Contrast checker → · Palette generator →

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