#678B20#678B20

#678B20 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.137 H 126.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#678B20
RGBrgb(103, 139, 32)
HSLhsl(80, 63%, 34%)
HSVhsv(80, 77%, 55%)
CMYKcmyk(25.9%, 0%, 77%, 45.5%)
CIE-LABlab(53.44, -28.59, 49.51)
CIE-LCHlch(53.44, 57.17, 120.01°)
OKLaboklab(58.9% -0.0824 0.1099)
OKLCHoklch(58.9% 0.137 126.9)
XYZxyz(15.0869, 21.4528, 4.7122)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678B20 #44208B
analogous
#8B7920 #678B20 #318B20
triadic
#678B20 #20678B #8B2067
tetradic
#678B20 #208B79 #44208B #8B2031
square
#678B20 #208B79 #44208B #8B2031
split-complementary
#678B20 #20318B #79208B
monochromatic
#1D2809 #425915 #678B20 #8CBD2B #A9D64F

Accessibility & contrast

On white

3.97
#678B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#678B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678B20
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678B20#FFFFFF#000000##000000
##678B201.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#6B8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678b20;
/* rgb */ color: rgb(103, 139, 32);
/* oklch */ color: oklch(58.9% 0.137 126.9);
Tailwind
colors: {
  custom: {
    50: '#96ad64',
    500: '#678b20',
    950: '#000000',
  },
}
SCSS
$custom: #678b20;
$custom-light: #96ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#678b20",
  "rgb": {
    "r": 103,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 80.187,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.13736,
    "h": 126.9
  },
  "luminance": 0.21453
}

Semantic roles & 50–950 ramp

primary
#678B20
secondary
#724DBA
accent
#42E679
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678B20

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

Preview Lab → · Contrast checker → · Palette generator →

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