#678128#678128

#678128 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.119 H 124.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#678128
RGBrgb(103, 129, 40)
HSLhsl(78, 53%, 33%)
HSVhsv(78, 69%, 51%)
CMYKcmyk(20.2%, 0%, 69%, 49.4%)
CIE-LABlab(50.38, -23.15, 43.33)
CIE-LCHlch(50.38, 49.12, 118.11°)
OKLaboklab(56.43% -0.0667 0.0982)
OKLCHoklch(56.43% 0.119 124.2)
XYZxyz(13.8269, 18.7372, 4.8953)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678128 #422881
analogous
#816E28 #678128 #3A8128
triadic
#678128 #286781 #812867
tetradic
#678128 #28816E #422881 #81283A
square
#678128 #28816E #422881 #81283A
split-complementary
#678128 #283A81 #6E2881
monochromatic
#1C240B #42521A #678128 #8CB036 #AACB58

Accessibility & contrast

On white

4.42
#678128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#678128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678128
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678128#FFFFFF#000000##000000
##6781281.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791B
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#6C7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #678128;
/* rgb */ color: rgb(103, 129, 40);
/* oklch */ color: oklch(56.4% 0.119 124.2);
Tailwind
colors: {
  custom: {
    50: '#95a567',
    500: '#678128',
    950: '#000000',
  },
}
SCSS
$custom: #678128;
$custom-light: #95a567;
$custom-dark: #000000;
JSON
{
  "hex": "#678128",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 77.528,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.11876,
    "h": 124.2
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#678128
secondary
#6F54B0
accent
#4CDC76
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #678128

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

Preview Lab → · Contrast checker → · Palette generator →

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