#678A28#678A28

#678A28 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.131 H 127.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#678A28
RGBrgb(103, 138, 40)
HSLhsl(81, 55%, 35%)
HSVhsv(81, 71%, 54%)
CMYKcmyk(25.4%, 0%, 71%, 45.9%)
CIE-LABlab(53.18, -27.61, 46.22)
CIE-LCHlch(53.18, 53.84, 120.85°)
OKLaboklab(58.7% -0.079 0.1043)
OKLCHoklch(58.7% 0.131 127.1)
XYZxyz(15.0650, 21.2134, 5.3080)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A28 #4B288A
analogous
#8A7C28 #678A28 #368A28
triadic
#678A28 #28678A #8A2867
tetradic
#678A28 #288A7C #4B288A #8A2836
square
#678A28 #288A7C #4B288A #8A2836
split-complementary
#678A28 #28368A #7C288A
monochromatic
#202B0C #445B1A #678A28 #8AB936 #A7D05D

Accessibility & contrast

On white

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

On black

5.24
#678A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A28
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A28#FFFFFF#000000##000000
##678A281.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918019
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#6B8476
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a28;
/* rgb */ color: rgb(103, 138, 40);
/* oklch */ color: oklch(58.7% 0.131 127.1);
Tailwind
colors: {
  custom: {
    50: '#95ac68',
    500: '#678a28',
    950: '#000000',
  },
}
SCSS
$custom: #678a28;
$custom-light: #95ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#678a28",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 81.429,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.13085,
    "h": 127.1
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

primary
#678A28
secondary
#7A59B5
accent
#49DE7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A28

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

Preview Lab → · Contrast checker → · Palette generator →

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