#678A21#678A21

#678A21 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.135 H 126.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#678A21
RGBrgb(103, 138, 33)
HSLhsl(80, 61%, 34%)
HSVhsv(80, 76%, 54%)
CMYKcmyk(25.4%, 0%, 76.1%, 45.9%)
CIE-LABlab(53.14, -28.06, 48.86)
CIE-LCHlch(53.14, 56.34, 119.87°)
OKLaboklab(58.65% -0.0808 0.1087)
OKLCHoklch(58.65% 0.135 126.6)
XYZxyz(14.9566, 21.1701, 4.7368)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A21 #44218A
analogous
#8A7821 #678A21 #328A21
triadic
#678A21 #21678A #8A2167
tetradic
#678A21 #218A78 #44218A #8A2132
square
#678A21 #218A78 #44218A #8A2132
split-complementary
#678A21 #21328A #78218A
monochromatic
#1D2709 #425915 #678A21 #8CBB2D #A9D550

Accessibility & contrast

On white

4.01
#678A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#678A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A21
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A21#FFFFFF#000000##000000
##678A211.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800B
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#6B8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a21;
/* rgb */ color: rgb(103, 138, 33);
/* oklch */ color: oklch(58.6% 0.135 126.6);
Tailwind
colors: {
  custom: {
    50: '#96ac64',
    500: '#678a21',
    950: '#000000',
  },
}
SCSS
$custom: #678a21;
$custom-light: #96ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#678a21",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 80,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.13547,
    "h": 126.6
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#678A21
secondary
#724EB9
accent
#43E579
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A21

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

Preview Lab → · Contrast checker → · Palette generator →

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