#688318#688318

#688318 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.9% C 0.131 H 123.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#688318
RGBrgb(104, 131, 24)
HSLhsl(75, 69%, 30%)
HSVhsv(75, 82%, 51%)
CMYKcmyk(20.6%, 0%, 81.7%, 48.6%)
CIE-LABlab(50.97, -24.66, 49.87)
CIE-LCHlch(50.97, 55.63, 116.31°)
OKLaboklab(56.9% -0.0723 0.1093)
OKLCHoklch(56.9% 0.131 123.5)
XYZxyz(13.9903, 19.2415, 3.8409)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688318 #331883
analogous
#836818 #688318 #338318
triadic
#688318 #186883 #831868
tetradic
#688318 #188368 #331883 #831833
square
#688318 #188368 #331883 #831833
split-complementary
#688318 #183383 #681883
monochromatic
#161C05 #3F4F0F #688318 #91B721 #B2DB3A

Accessibility & contrast

On white

4.33
#688318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#688318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688318
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688318#FFFFFF#000000##000000
##6883181.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#6E7C6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #688318;
/* rgb */ color: rgb(104, 131, 24);
/* oklch */ color: oklch(56.9% 0.131 123.5);
Tailwind
colors: {
  custom: {
    50: '#97a75f',
    500: '#688318',
    950: '#000000',
  },
}
SCSS
$custom: #688318;
$custom-light: #97a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#688318",
  "rgb": {
    "r": 104,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 75.14,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.13105,
    "h": 123.5
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#688318
secondary
#5E40B7
accent
#3CEC68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #688318

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

Preview Lab → · Contrast checker → · Palette generator →

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