#678F22#678F22

#678F22 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.141 H 128.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#678F22
RGBrgb(103, 143, 34)
HSLhsl(82, 62%, 35%)
HSVhsv(82, 76%, 56%)
CMYKcmyk(28%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.70, -30.39, 50.01)
CIE-LCHlch(54.70, 58.52, 121.28°)
OKLaboklab(59.92% -0.0871 0.1113)
OKLCHoklch(59.92% 0.141 128)
XYZxyz(15.7047, 22.6436, 5.0563)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F22 #4A228F
analogous
#8F8022 #678F22 #318F22
triadic
#678F22 #22678F #8F2267
tetradic
#678F22 #228F80 #4A228F #8F2231
square
#678F22 #228F80 #4A228F #8F2231
split-complementary
#678F22 #22318F #80228F
monochromatic
#202C0A #435E16 #678F22 #8BC02E #A7D755

Accessibility & contrast

On white

3.80
#678F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#678F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678F22
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678F22#FFFFFF#000000##000000
##678F221.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850A
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#6B887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f22;
/* rgb */ color: rgb(103, 143, 34);
/* oklch */ color: oklch(59.9% 0.141 128.0);
Tailwind
colors: {
  custom: {
    50: '#96b066',
    500: '#678f22',
    950: '#000000',
  },
}
SCSS
$custom: #678f22;
$custom-light: #96b066;
$custom-dark: #000000;
JSON
{
  "hex": "#678f22",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 82.018,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.14134,
    "h": 128
  },
  "luminance": 0.22644
}

Semantic roles & 50–950 ramp

primary
#678F22
secondary
#7952BA
accent
#43E57E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678F22

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

Preview Lab → · Contrast checker → · Palette generator →

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