#678D22#678D22

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

Color values

HEX#678D22
RGBrgb(103, 141, 34)
HSLhsl(81, 61%, 34%)
HSVhsv(81, 76%, 55%)
CMYKcmyk(27%, 0%, 75.9%, 44.7%)
CIE-LABlab(54.08, -29.44, 49.41)
CIE-LCHlch(54.08, 57.51, 120.79°)
OKLaboklab(59.42% -0.0845 0.11)
OKLCHoklch(59.42% 0.139 127.5)
XYZxyz(15.4072, 22.0485, 4.9571)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D22 #48228D
analogous
#8D7E22 #678D22 #328D22
triadic
#678D22 #22678D #8D2267
tetradic
#678D22 #228D7E #48228D #8D2232
square
#678D22 #228D7E #48228D #8D2232
split-complementary
#678D22 #22328D #7E228D
monochromatic
#1F2A0A #435C16 #678D22 #8BBE2E #A8D654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678D22#FFFFFF#000000##000000
##678D221.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)
#94830B
Deuteranopia (green-blind)
#8F812C
Tritanopia (blue-blind)
#6B8679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678d22;
/* rgb */ color: rgb(103, 141, 34);
/* oklch */ color: oklch(59.4% 0.139 127.5);
Tailwind
colors: {
  custom: {
    50: '#96ae65',
    500: '#678d22',
    950: '#000000',
  },
}
SCSS
$custom: #678d22;
$custom-light: #96ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#678d22",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 81.308,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.13875,
    "h": 127.5
  },
  "luminance": 0.22049
}

Semantic roles & 50–950 ramp

primary
#678D22
secondary
#7651B9
accent
#44E47D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678D22

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

Preview Lab → · Contrast checker → · Palette generator →

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