#678428#678428

#678428 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.2% C 0.123 H 125.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#678428
RGBrgb(103, 132, 40)
HSLhsl(79, 53%, 34%)
HSVhsv(79, 70%, 52%)
CMYKcmyk(22%, 0%, 69.7%, 48.2%)
CIE-LABlab(51.31, -24.65, 44.30)
CIE-LCHlch(51.31, 50.70, 119.10°)
OKLaboklab(57.19% -0.0709 0.1003)
OKLCHoklch(57.19% 0.123 125.3)
XYZxyz(14.2279, 19.5391, 5.0289)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678428 #452884
analogous
#847328 #678428 #398428
triadic
#678428 #286784 #842867
tetradic
#678428 #288473 #452884 #842839
square
#678428 #288473 #452884 #842839
split-complementary
#678428 #283984 #732884
monochromatic
#1E260C #42551A #678428 #8CB336 #A9CD5A

Accessibility & contrast

On white

4.28
#678428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#678428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678428
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678428#FFFFFF#000000##000000
##6784281.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1B
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#6C7E71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #678428;
/* rgb */ color: rgb(103, 132, 40);
/* oklch */ color: oklch(57.2% 0.123 125.3);
Tailwind
colors: {
  custom: {
    50: '#95a867',
    500: '#678428',
    950: '#000000',
  },
}
SCSS
$custom: #678428;
$custom-light: #95a867;
$custom-dark: #000000;
JSON
{
  "hex": "#678428",
  "rgb": {
    "r": 103,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 78.913,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57187,
    "c": 0.1228,
    "h": 125.3
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

primary
#678428
secondary
#7356B2
accent
#4BDD79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #678428

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

Preview Lab → · Contrast checker → · Palette generator →

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