#678D20#678D20

#678D20 is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.4% C 0.140 H 127.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#678D20
RGBrgb(103, 141, 32)
HSLhsl(81, 63%, 34%)
HSVhsv(81, 77%, 55%)
CMYKcmyk(27%, 0%, 77.3%, 44.7%)
CIE-LABlab(54.07, -29.55, 50.11)
CIE-LCHlch(54.07, 58.17, 120.53°)
OKLaboklab(59.4% -0.085 0.1112)
OKLCHoklch(59.4% 0.14 127.4)
XYZxyz(15.3791, 22.0373, 4.8096)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D20 #46208D
analogous
#8D7D20 #678D20 #318D20
triadic
#678D20 #20678D #8D2067
tetradic
#678D20 #208D7D #46208D #8D2031
square
#678D20 #208D7D #46208D #8D2031
split-complementary
#678D20 #20318D #7D208D
monochromatic
#1E2909 #435B15 #678D20 #8BBF2B #A8D750

Accessibility & contrast

On white

3.88
#678D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#678D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678D20
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678D20#FFFFFF#000000##000000
##678D201.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948306
Deuteranopia (green-blind)
#8F812B
Tritanopia (blue-blind)
#6B8678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678d20;
/* rgb */ color: rgb(103, 141, 32);
/* oklch */ color: oklch(59.4% 0.140 127.4);
Tailwind
colors: {
  custom: {
    50: '#96ae64',
    500: '#678d20',
    950: '#000000',
  },
}
SCSS
$custom: #678d20;
$custom-light: #96ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#678d20",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 80.917,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59402,
    "c": 0.13993,
    "h": 127.4
  },
  "luminance": 0.22038
}

Semantic roles & 50–950 ramp

primary
#678D20
secondary
#744EBA
accent
#42E67B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678D20

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

Preview Lab → · Contrast checker → · Palette generator →

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