#678E28#678E28

#678E28 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.136 H 128.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#678E28
RGBrgb(103, 142, 40)
HSLhsl(83, 56%, 36%)
HSVhsv(83, 72%, 56%)
CMYKcmyk(27.5%, 0%, 71.8%, 44.3%)
CIE-LABlab(54.43, -29.53, 47.49)
CIE-LCHlch(54.43, 55.92, 121.88°)
OKLaboklab(59.71% -0.0843 0.107)
OKLCHoklch(59.71% 0.136 128.2)
XYZxyz(15.6495, 22.3824, 5.5028)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E28 #4F288E
analogous
#8E8228 #678E28 #348E28
triadic
#678E28 #28678E #8E2867
tetradic
#678E28 #288E82 #4F288E #8E2834
square
#678E28 #288E82 #4F288E #8E2834
split-complementary
#678E28 #28348E #82288E
monochromatic
#222F0D #445E1B #678E28 #8ABE35 #A6D25F

Accessibility & contrast

On white

3.83
#678E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#678E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678E28
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678E28#FFFFFF#000000##000000
##678E281.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#908131
Tritanopia (blue-blind)
#6B887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678e28;
/* rgb */ color: rgb(103, 142, 40);
/* oklch */ color: oklch(59.7% 0.136 128.2);
Tailwind
colors: {
  custom: {
    50: '#96af69',
    500: '#678e28',
    950: '#000000',
  },
}
SCSS
$custom: #678e28;
$custom-light: #96af69;
$custom-dark: #000000;
JSON
{
  "hex": "#678e28",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 82.941,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.13617,
    "h": 128.2
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#678E28
secondary
#7E5BB7
accent
#48DF82
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #678E28

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

Preview Lab → · Contrast checker → · Palette generator →

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