#678310#678310

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

Color values

HEX#678310
RGBrgb(103, 131, 16)
HSLhsl(75, 78%, 29%)
HSVhsv(75, 88%, 51%)
CMYKcmyk(21.4%, 0%, 87.8%, 48.6%)
CIE-LABlab(50.87, -25.40, 51.94)
CIE-LCHlch(50.87, 57.82, 116.06°)
OKLaboklab(56.78% -0.0748 0.1124)
OKLCHoklch(56.78% 0.135 123.7)
XYZxyz(13.8035, 19.1535, 3.4599)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678310 #2C1083
analogous
#836610 #678310 #2E8310
triadic
#678310 #106783 #831067
tetradic
#678310 #108366 #2C1083 #83102E
square
#678310 #108366 #2C1083 #83102E
split-complementary
#678310 #102E83 #661083
monochromatic
#151B03 #3C4C09 #678310 #92BA17 #B7E529

Accessibility & contrast

On white

4.35
#678310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##678310#FFFFFF#000000##000000
##6783101.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#6D7C6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #678310;
/* rgb */ color: rgb(103, 131, 16);
/* oklch */ color: oklch(56.8% 0.135 123.7);
Tailwind
colors: {
  custom: {
    50: '#96a75c',
    500: '#678310',
    950: '#000000',
  },
}
SCSS
$custom: #678310;
$custom-light: #96a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#678310",
  "rgb": {
    "r": 103,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 74.609,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.13501,
    "h": 123.7
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#678310
secondary
#5636B9
accent
#33F562
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678310

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

Preview Lab → · Contrast checker → · Palette generator →

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