#678828#678828

#678828 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.2% C 0.128 H 126.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#678828
RGBrgb(103, 136, 40)
HSLhsl(81, 55%, 35%)
HSVhsv(81, 71%, 53%)
CMYKcmyk(24.3%, 0%, 70.6%, 46.7%)
CIE-LABlab(52.56, -26.63, 45.58)
CIE-LCHlch(52.56, 52.79, 120.30°)
OKLaboklab(58.2% -0.0763 0.103)
OKLCHoklch(58.2% 0.128 126.6)
XYZxyz(14.7807, 20.6448, 5.2132)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678828 #492888
analogous
#887928 #678828 #378828
triadic
#678828 #286788 #882867
tetradic
#678828 #288879 #492888 #882837
square
#678828 #288879 #492888 #882837
split-complementary
#678828 #283788 #792888
monochromatic
#1F290C #43591A #678828 #8BB736 #A7CF5B

Accessibility & contrast

On white

4.09
#678828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#678828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678828
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678828#FFFFFF#000000##000000
##6788281.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F19
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#6B8275
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #678828;
/* rgb */ color: rgb(103, 136, 40);
/* oklch */ color: oklch(58.2% 0.128 126.6);
Tailwind
colors: {
  custom: {
    50: '#95ab68',
    500: '#678828',
    950: '#000000',
  },
}
SCSS
$custom: #678828;
$custom-light: #95ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#678828",
  "rgb": {
    "r": 103,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 80.625,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58196,
    "c": 0.12817,
    "h": 126.6
  },
  "luminance": 0.20645
}

Semantic roles & 50–950 ramp

primary
#678828
secondary
#7758B4
accent
#4ADE7D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678828

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

Preview Lab → · Contrast checker → · Palette generator →

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