#678B22#678B22

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

Color values

HEX#678B22
RGBrgb(103, 139, 34)
HSLhsl(81, 61%, 34%)
HSVhsv(81, 76%, 55%)
CMYKcmyk(25.9%, 0%, 75.5%, 45.5%)
CIE-LABlab(53.45, -28.48, 48.80)
CIE-LCHlch(53.45, 56.51, 120.27°)
OKLaboklab(58.91% -0.0819 0.1088)
OKLCHoklch(58.91% 0.136 127)
XYZxyz(15.1149, 21.4640, 4.8597)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678B22 #46228B
analogous
#8B7B22 #678B22 #338B22
triadic
#678B22 #22678B #8B2267
tetradic
#678B22 #228B7B #46228B #8B2233
square
#678B22 #228B7B #46228B #8B2233
split-complementary
#678B22 #22338B #7B228B
monochromatic
#1E290A #435A16 #678B22 #8BBC2E #A8D553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678B22#FFFFFF#000000##000000
##678B221.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)
#92810D
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#6B8477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678b22;
/* rgb */ color: rgb(103, 139, 34);
/* oklch */ color: oklch(58.9% 0.136 127.0);
Tailwind
colors: {
  custom: {
    50: '#96ad65',
    500: '#678b22',
    950: '#000000',
  },
}
SCSS
$custom: #678b22;
$custom-light: #96ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#678b22",
  "rgb": {
    "r": 103,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 80.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.13615,
    "h": 127
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#678B22
secondary
#7450B8
accent
#44E47B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678B22

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

Preview Lab → · Contrast checker → · Palette generator →

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