#688218#688218

#688218 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.6% C 0.130 H 123.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#688218
RGBrgb(104, 130, 24)
HSLhsl(75, 69%, 30%)
HSVhsv(75, 82%, 51%)
CMYKcmyk(20%, 0%, 81.5%, 49%)
CIE-LABlab(50.66, -24.16, 49.59)
CIE-LCHlch(50.66, 55.16, 115.98°)
OKLaboklab(56.64% -0.071 0.1087)
OKLCHoklch(56.64% 0.13 123.2)
XYZxyz(13.8566, 18.9742, 3.7964)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688218 #321882
analogous
#826718 #688218 #338218
triadic
#688218 #186882 #821868
tetradic
#688218 #188267 #321882 #821833
square
#688218 #188267 #321882 #821833
split-complementary
#688218 #183382 #671882
monochromatic
#151B05 #3F4E0E #688218 #91B622 #B3DB3A

Accessibility & contrast

On white

4.38
#688218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#688218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688218
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688218#FFFFFF#000000##000000
##6882181.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#877823
Tritanopia (blue-blind)
#6E7B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #688218;
/* rgb */ color: rgb(104, 130, 24);
/* oklch */ color: oklch(56.6% 0.130 123.2);
Tailwind
colors: {
  custom: {
    50: '#97a65f',
    500: '#688218',
    950: '#000000',
  },
}
SCSS
$custom: #688218;
$custom-light: #97a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#688218",
  "rgb": {
    "r": 104,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 74.717,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.1298,
    "h": 123.2
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#688218
secondary
#5D40B6
accent
#3CEC67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #688218

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

Preview Lab → · Contrast checker → · Palette generator →

#688218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva