#678221#678221

#678221 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.6% C 0.125 H 124.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#678221
RGBrgb(103, 130, 33)
HSLhsl(77, 60%, 32%)
HSVhsv(77, 75%, 51%)
CMYKcmyk(20.8%, 0%, 74.6%, 49%)
CIE-LABlab(50.64, -24.12, 46.43)
CIE-LCHlch(50.64, 52.32, 117.45°)
OKLaboklab(56.63% -0.0701 0.1036)
OKLCHoklch(56.63% 0.125 124.1)
XYZxyz(13.8508, 18.9585, 4.3682)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678221 #3C2182
analogous
#826D21 #678221 #378221
triadic
#678221 #216782 #822167
tetradic
#678221 #21826D #3C2182 #822137
square
#678221 #21826D #3C2182 #822137
split-complementary
#678221 #213782 #6D2182
monochromatic
#1A2008 #405115 #678221 #8EB32D #ACD24C

Accessibility & contrast

On white

4.38
#678221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#678221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678221
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678221#FFFFFF#000000##000000
##6782211.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A790F
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#6C7B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #678221;
/* rgb */ color: rgb(103, 130, 33);
/* oklch */ color: oklch(56.6% 0.125 124.1);
Tailwind
colors: {
  custom: {
    50: '#95a663',
    500: '#678221',
    950: '#000000',
  },
}
SCSS
$custom: #678221;
$custom-light: #95a663;
$custom-dark: #000000;
JSON
{
  "hex": "#678221",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 76.701,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56626,
    "c": 0.12508,
    "h": 124.1
  },
  "luminance": 0.18959
}

Semantic roles & 50–950 ramp

primary
#678221
secondary
#684AB4
accent
#45E371
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #678221

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

Preview Lab → · Contrast checker → · Palette generator →

#678221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva