#678C20#678C20

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

Color values

HEX#678C20
RGBrgb(103, 140, 32)
HSLhsl(81, 63%, 34%)
HSVhsv(81, 77%, 55%)
CMYKcmyk(26.4%, 0%, 77.1%, 45.1%)
CIE-LABlab(53.75, -29.07, 49.81)
CIE-LCHlch(53.75, 57.67, 120.27°)
OKLaboklab(59.15% -0.0837 0.1105)
OKLCHoklch(59.15% 0.139 127.1)
XYZxyz(15.2324, 21.7437, 4.7607)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678C20 #45208C
analogous
#8C7B20 #678C20 #318C20
triadic
#678C20 #20678C #8C2067
tetradic
#678C20 #208C7B #45208C #8C2031
square
#678C20 #208C7B #45208C #8C2031
split-complementary
#678C20 #20318C #7B208C
monochromatic
#1E2809 #425A15 #678C20 #8CBE2B #A9D750

Accessibility & contrast

On white

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

On black

5.35
#678C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678C20
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678C20#FFFFFF#000000##000000
##678C201.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938207
Deuteranopia (green-blind)
#8E802A
Tritanopia (blue-blind)
#6B8578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678c20;
/* rgb */ color: rgb(103, 140, 32);
/* oklch */ color: oklch(59.1% 0.139 127.1);
Tailwind
colors: {
  custom: {
    50: '#96ad64',
    500: '#678c20',
    950: '#000000',
  },
}
SCSS
$custom: #678c20;
$custom-light: #96ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#678c20",
  "rgb": {
    "r": 103,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 80.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59149,
    "c": 0.13865,
    "h": 127.1
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#678C20
secondary
#734EBA
accent
#42E67A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678C20

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

Preview Lab → · Contrast checker → · Palette generator →

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