#678F21#678F21

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

Color values

HEX#678F21
RGBrgb(103, 143, 33)
HSLhsl(82, 63%, 35%)
HSVhsv(82, 77%, 56%)
CMYKcmyk(28%, 0%, 76.9%, 43.9%)
CIE-LABlab(54.70, -30.44, 50.36)
CIE-LCHlch(54.70, 58.85, 121.15°)
OKLaboklab(59.92% -0.0873 0.1119)
OKLCHoklch(59.92% 0.142 128)
XYZxyz(15.6905, 22.6379, 4.9814)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F21 #49218F
analogous
#8F8021 #678F21 #308F21
triadic
#678F21 #21678F #8F2167
tetradic
#678F21 #218F80 #49218F #8F2130
square
#678F21 #218F80 #49218F #8F2130
split-complementary
#678F21 #21308F #80218F
monochromatic
#1F2C0A #435D16 #678F21 #8BC12C #A7D753

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678F21#FFFFFF#000000##000000
##678F211.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)
#968507
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#6B887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f21;
/* rgb */ color: rgb(103, 143, 33);
/* oklch */ color: oklch(59.9% 0.142 128.0);
Tailwind
colors: {
  custom: {
    50: '#96b065',
    500: '#678f21',
    950: '#000000',
  },
}
SCSS
$custom: #678f21;
$custom-light: #96b065;
$custom-dark: #000000;
JSON
{
  "hex": "#678f21",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 81.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59917,
    "c": 0.14192,
    "h": 128
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#678F21
secondary
#7751BB
accent
#42E67E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678F21

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

Preview Lab → · Contrast checker → · Palette generator →

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