#688018#688018

#688018 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.1% C 0.127 H 122.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#688018
RGBrgb(104, 128, 24)
HSLhsl(74, 68%, 30%)
HSVhsv(74, 81%, 50%)
CMYKcmyk(18.8%, 0%, 81.3%, 49.8%)
CIE-LABlab(50.03, -23.15, 49.02)
CIE-LCHlch(50.03, 54.22, 115.28°)
OKLaboklab(56.14% -0.0682 0.1075)
OKLCHoklch(56.14% 0.127 122.4)
XYZxyz(13.5932, 18.4473, 3.7085)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688018 #301880
analogous
#806418 #688018 #348018
triadic
#688018 #186880 #801868
tetradic
#688018 #188064 #301880 #801834
square
#688018 #188064 #301880 #801834
split-complementary
#688018 #183480 #641880
monochromatic
#151A05 #3E4C0E #688018 #92B422 #B5DA39

Accessibility & contrast

On white

4.48
#688018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#688018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688018
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688018#FFFFFF#000000##000000
##6880181.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#6E796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #688018;
/* rgb */ color: rgb(104, 128, 24);
/* oklch */ color: oklch(56.1% 0.127 122.4);
Tailwind
colors: {
  custom: {
    50: '#96a45f',
    500: '#688018',
    950: '#000000',
  },
}
SCSS
$custom: #688018;
$custom-light: #96a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#688018",
  "rgb": {
    "r": 104,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 73.846,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.1273,
    "h": 122.4
  },
  "luminance": 0.18447
}

Semantic roles & 50–950 ramp

primary
#688018
secondary
#5A40B4
accent
#3DEB65
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #688018

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

Preview Lab → · Contrast checker → · Palette generator →

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