#688312#688312

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

Color values

HEX#688312
RGBrgb(104, 131, 18)
HSLhsl(74, 76%, 29%)
HSVhsv(74, 86%, 51%)
CMYKcmyk(20.6%, 0%, 86.3%, 48.6%)
CIE-LABlab(50.94, -24.90, 51.54)
CIE-LCHlch(50.94, 57.24, 115.79°)
OKLaboklab(56.87% -0.0734 0.1118)
OKLCHoklch(56.87% 0.134 123.3)
XYZxyz(13.9346, 19.2192, 3.5477)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#688312 #2D1283
analogous
#836612 #688312 #308312
triadic
#688312 #126883 #831268
tetradic
#688312 #128366 #2D1283 #831230
square
#688312 #128366 #2D1283 #831230
split-complementary
#688312 #123083 #661283
monochromatic
#151B04 #3D4D0B #688312 #93B919 #B7E22D

Accessibility & contrast

On white

4.34
#688312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#688312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #688312
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##688312#FFFFFF#000000##000000
##6883121.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #688312;
/* rgb */ color: rgb(104, 131, 18);
/* oklch */ color: oklch(56.9% 0.134 123.3);
Tailwind
colors: {
  custom: {
    50: '#97a75d',
    500: '#688312',
    950: '#000000',
  },
}
SCSS
$custom: #688312;
$custom-light: #97a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#688312",
  "rgb": {
    "r": 104,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 74.336,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.13375,
    "h": 123.3
  },
  "luminance": 0.19219
}

Semantic roles & 50–950 ramp

primary
#688312
secondary
#5738B8
accent
#35F263
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #688312

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

Preview Lab → · Contrast checker → · Palette generator →

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