#678C22#678C22

#678C22 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.137 H 127.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#678C22
RGBrgb(103, 140, 34)
HSLhsl(81, 61%, 34%)
HSVhsv(81, 76%, 55%)
CMYKcmyk(26.4%, 0%, 75.7%, 45.1%)
CIE-LABlab(53.77, -28.96, 49.11)
CIE-LCHlch(53.77, 57.01, 120.53°)
OKLaboklab(59.16% -0.0832 0.1094)
OKLCHoklch(59.16% 0.137 127.3)
XYZxyz(15.2604, 21.7549, 4.9082)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678C22 #47228C
analogous
#8C7C22 #678C22 #328C22
triadic
#678C22 #22678C #8C2267
tetradic
#678C22 #228C7C #47228C #8C2232
square
#678C22 #228C7C #47228C #8C2232
split-complementary
#678C22 #22328C #7C228C
monochromatic
#1F2A0A #435B16 #678C22 #8BBD2E #A8D553

Accessibility & contrast

On white

3.92
#678C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##678C22#FFFFFF#000000##000000
##678C221.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820C
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#6B8578
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #678c22;
/* rgb */ color: rgb(103, 140, 34);
/* oklch */ color: oklch(59.2% 0.137 127.3);
Tailwind
colors: {
  custom: {
    50: '#96ad65',
    500: '#678c22',
    950: '#000000',
  },
}
SCSS
$custom: #678c22;
$custom-light: #96ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#678c22",
  "rgb": {
    "r": 103,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 80.943,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59162,
    "c": 0.13746,
    "h": 127.3
  },
  "luminance": 0.21755
}

Semantic roles & 50–950 ramp

primary
#678C22
secondary
#7551B9
accent
#44E47C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678C22

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

Preview Lab → · Contrast checker → · Palette generator →

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