#678E22#678E22

#678E22 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.7% C 0.140 H 127.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#678E22
RGBrgb(103, 142, 34)
HSLhsl(82, 61%, 35%)
HSVhsv(82, 76%, 56%)
CMYKcmyk(27.5%, 0%, 76.1%, 44.3%)
CIE-LABlab(54.39, -29.91, 49.71)
CIE-LCHlch(54.39, 58.02, 121.04°)
OKLaboklab(59.67% -0.0858 0.1107)
OKLCHoklch(59.67% 0.14 127.8)
XYZxyz(15.5553, 22.3447, 5.0065)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E22 #49228E
analogous
#8E7F22 #678E22 #318E22
triadic
#678E22 #22678E #8E2267
tetradic
#678E22 #228E7F #49228E #8E2231
square
#678E22 #228E7F #49228E #8E2231
split-complementary
#678E22 #22318E #7F228E
monochromatic
#1F2B0A #435D16 #678E22 #8BBF2E #A7D654

Accessibility & contrast

On white

3.84
#678E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#678E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678E22
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678E22#FFFFFF#000000##000000
##678E221.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840B
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#6B8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678e22;
/* rgb */ color: rgb(103, 142, 34);
/* oklch */ color: oklch(59.7% 0.140 127.8);
Tailwind
colors: {
  custom: {
    50: '#96af66',
    500: '#678e22',
    950: '#000000',
  },
}
SCSS
$custom: #678e22;
$custom-light: #96af66;
$custom-dark: #000000;
JSON
{
  "hex": "#678e22",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 81.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.14005,
    "h": 127.8
  },
  "luminance": 0.22345
}

Semantic roles & 50–950 ramp

primary
#678E22
secondary
#7752BA
accent
#43E47E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678E22

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

Preview Lab → · Contrast checker → · Palette generator →

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