#678728#678728

#678728 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.127 H 126.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#678728
RGBrgb(103, 135, 40)
HSLhsl(80, 54%, 34%)
HSVhsv(80, 70%, 53%)
CMYKcmyk(23.7%, 0%, 70.4%, 47.1%)
CIE-LABlab(52.25, -26.14, 45.26)
CIE-LCHlch(52.25, 52.27, 120.01°)
OKLaboklab(57.94% -0.075 0.1023)
OKLCHoklch(57.94% 0.127 126.2)
XYZxyz(14.6405, 20.3645, 5.1665)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678728 #482887
analogous
#877828 #678728 #378728
triadic
#678728 #286787 #872867
tetradic
#678728 #288778 #482887 #872837
square
#678728 #288778 #482887 #872837
split-complementary
#678728 #283787 #782887
monochromatic
#1F290C #43581A #678728 #8BB636 #A8CE5B

Accessibility & contrast

On white

4.14
#678728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#678728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678728
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678728#FFFFFF#000000##000000
##6787281.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1A
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#6B8174
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #678728;
/* rgb */ color: rgb(103, 135, 40);
/* oklch */ color: oklch(57.9% 0.127 126.2);
Tailwind
colors: {
  custom: {
    50: '#95aa68',
    500: '#678728',
    950: '#000000',
  },
}
SCSS
$custom: #678728;
$custom-light: #95aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#678728",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 80.211,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57944,
    "c": 0.12683,
    "h": 126.2
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#678728
secondary
#7657B4
accent
#4ADE7C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678728

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

Preview Lab → · Contrast checker → · Palette generator →

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