#678316#678316

#678316 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.133 H 123.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#678316
RGBrgb(103, 131, 22)
HSLhsl(75, 71%, 30%)
HSVhsv(75, 83%, 51%)
CMYKcmyk(21.4%, 0%, 83.2%, 48.6%)
CIE-LABlab(50.89, -25.18, 50.37)
CIE-LCHlch(50.89, 56.31, 116.56°)
OKLaboklab(56.81% -0.0738 0.11)
OKLCHoklch(56.81% 0.133 123.9)
XYZxyz(13.8548, 19.1740, 3.7299)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678316 #321683
analogous
#836916 #678316 #308316
triadic
#678316 #166783 #831667
tetradic
#678316 #168369 #321683 #831630
square
#678316 #168369 #321683 #831630
split-complementary
#678316 #163083 #691683
monochromatic
#151A04 #3E4F0D #678316 #90B71F #B2DD36

Accessibility & contrast

On white

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

On black

4.83
#678316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678316
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678316#FFFFFF#000000##000000
##6783161.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #678316;
/* rgb */ color: rgb(103, 131, 22);
/* oklch */ color: oklch(56.8% 0.133 123.9);
Tailwind
colors: {
  custom: {
    50: '#96a75f',
    500: '#678316',
    950: '#000000',
  },
}
SCSS
$custom: #678316;
$custom-light: #96a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#678316",
  "rgb": {
    "r": 103,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 75.413,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.13251,
    "h": 123.9
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

primary
#678316
secondary
#5D3DB7
accent
#3AEE68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678316

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

Preview Lab → · Contrast checker → · Palette generator →

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