#678E21#678E21

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

Color values

HEX#678E21
RGBrgb(103, 142, 33)
HSLhsl(81, 62%, 34%)
HSVhsv(81, 77%, 56%)
CMYKcmyk(27.5%, 0%, 76.8%, 44.3%)
CIE-LABlab(54.38, -29.97, 50.06)
CIE-LCHlch(54.38, 58.35, 120.91°)
OKLaboklab(59.66% -0.0861 0.1112)
OKLCHoklch(59.66% 0.141 127.7)
XYZxyz(15.5411, 22.3390, 4.9316)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E21 #48218E
analogous
#8E7F21 #678E21 #318E21
triadic
#678E21 #21678E #8E2167
tetradic
#678E21 #218E7F #48218E #8E2131
square
#678E21 #218E7F #48218E #8E2131
split-complementary
#678E21 #21318E #7F218E
monochromatic
#1F2B0A #435C15 #678E21 #8BC02D #A8D752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678E21#FFFFFF#000000##000000
##678E211.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)
#958408
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#6B8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678e21;
/* rgb */ color: rgb(103, 142, 33);
/* oklch */ color: oklch(59.7% 0.141 127.7);
Tailwind
colors: {
  custom: {
    50: '#96af65',
    500: '#678e21',
    950: '#000000',
  },
}
SCSS
$custom: #678e21;
$custom-light: #96af65;
$custom-dark: #000000;
JSON
{
  "hex": "#678e21",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 81.468,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59663,
    "c": 0.14064,
    "h": 127.7
  },
  "luminance": 0.22339
}

Semantic roles & 50–950 ramp

primary
#678E21
secondary
#7650BA
accent
#42E57D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678E21

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

Preview Lab → · Contrast checker → · Palette generator →

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