#678C1B#678C1B

#678C1B is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.141 H 126.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#678C1B
RGBrgb(103, 140, 27)
HSLhsl(80, 68%, 33%)
HSVhsv(80, 81%, 55%)
CMYKcmyk(26.4%, 0%, 80.7%, 45.1%)
CIE-LABlab(53.73, -29.33, 51.43)
CIE-LCHlch(53.73, 59.21, 119.70°)
OKLaboklab(59.12% -0.0848 0.1131)
OKLCHoklch(59.12% 0.141 126.9)
XYZxyz(15.1695, 21.7186, 4.4296)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678C1B #401B8C
analogous
#8C781B #678C1B #2E8C1B
triadic
#678C1B #1B678C #8C1B67
tetradic
#678C1B #1B8C78 #401B8C #8C1B2E
square
#678C1B #1B8C78 #401B8C #8C1B2E
split-complementary
#678C1B #1B2E8C #781B8C
monochromatic
#1C2507 #415911 #678C1B #8DBF25 #AADB46

Accessibility & contrast

On white

3.93
#678C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#678C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678C1B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678C1B#FFFFFF#000000##000000
##678C1B1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#6B8577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678c1b;
/* rgb */ color: rgb(103, 140, 27);
/* oklch */ color: oklch(59.1% 0.141 126.9);
Tailwind
colors: {
  custom: {
    50: '#96ad62',
    500: '#678c1b',
    950: '#000000',
  },
}
SCSS
$custom: #678c1b;
$custom-light: #96ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#678c1b",
  "rgb": {
    "r": 103,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 79.646,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.14136,
    "h": 126.9
  },
  "luminance": 0.21719
}

Semantic roles & 50–950 ramp

primary
#678C1B
secondary
#6D46BD
accent
#3DEB76
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678C1B

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

Preview Lab → · Contrast checker → · Palette generator →

#678C1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva