#688012#688012

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

Color values

HEX#688012
RGBrgb(104, 128, 18)
HSLhsl(73, 75%, 29%)
HSVhsv(73, 86%, 50%)
CMYKcmyk(18.8%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.01, -23.40, 50.73)
CIE-LCHlch(50.01, 55.87, 114.76°)
OKLaboklab(56.11% -0.0693 0.1101)
OKLCHoklch(56.11% 0.13 122.2)
XYZxyz(13.5375, 18.4250, 3.4153)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688012 #2A1280
analogous
#806112 #688012 #318012
triadic
#688012 #126880 #801268
tetradic
#688012 #128061 #2A1280 #801231
square
#688012 #128061 #2A1280 #801231
split-complementary
#688012 #123180 #611280
monochromatic
#161B04 #3C4A0A #688012 #94B61A #B9E12B

Accessibility & contrast

On white

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

On black

4.68
#688012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688012
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688012#FFFFFF#000000##000000
##6880121.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #688012;
/* rgb */ color: rgb(104, 128, 18);
/* oklch */ color: oklch(56.1% 0.130 122.2);
Tailwind
colors: {
  custom: {
    50: '#97a45d',
    500: '#688012',
    950: '#000000',
  },
}
SCSS
$custom: #688012;
$custom-light: #97a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#688012",
  "rgb": {
    "r": 104,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 73.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56109,
    "c": 0.13008,
    "h": 122.2
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#688012
secondary
#5438B6
accent
#36F25F
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #688012

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

Preview Lab → · Contrast checker → · Palette generator →

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