#688118#688118

#688118 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.129 H 122.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#688118
RGBrgb(104, 129, 24)
HSLhsl(74, 69%, 30%)
HSVhsv(74, 81%, 51%)
CMYKcmyk(19.4%, 0%, 81.4%, 49.4%)
CIE-LABlab(50.35, -23.66, 49.31)
CIE-LCHlch(50.35, 54.69, 115.63°)
OKLaboklab(56.39% -0.0696 0.1081)
OKLCHoklch(56.39% 0.129 122.8)
XYZxyz(13.7242, 18.7095, 3.7522)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688118 #311881
analogous
#816618 #688118 #338118
triadic
#688118 #186881 #811868
tetradic
#688118 #188166 #311881 #811833
square
#688118 #188166 #311881 #811833
split-complementary
#688118 #183381 #661881
monochromatic
#151A05 #3E4D0E #688118 #92B522 #B4DA39

Accessibility & contrast

On white

4.43
#688118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#688118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688118
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688118#FFFFFF#000000##000000
##6881181.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#6E7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #688118;
/* rgb */ color: rgb(104, 129, 24);
/* oklch */ color: oklch(56.4% 0.129 122.8);
Tailwind
colors: {
  custom: {
    50: '#96a55f',
    500: '#688118',
    950: '#000000',
  },
}
SCSS
$custom: #688118;
$custom-light: #96a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#688118",
  "rgb": {
    "r": 104,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 74.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.56391,
    "c": 0.12855,
    "h": 122.8
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#688118
secondary
#5C40B5
accent
#3CEB66
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #688118

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

Preview Lab → · Contrast checker → · Palette generator →

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