#678D23#678D23

#678D23 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.138 H 127.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#678D23
RGBrgb(103, 141, 35)
HSLhsl(82, 60%, 35%)
HSVhsv(82, 75%, 55%)
CMYKcmyk(27%, 0%, 75.2%, 44.7%)
CIE-LABlab(54.08, -29.38, 49.05)
CIE-LCHlch(54.08, 57.18, 120.92°)
OKLaboklab(59.42% -0.0843 0.1095)
OKLCHoklch(59.42% 0.138 127.6)
XYZxyz(15.4218, 22.0543, 5.0342)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678D23 #49238D
analogous
#8D7E23 #678D23 #328D23
triadic
#678D23 #23678D #8D2367
tetradic
#678D23 #238D7E #49238D #8D2332
square
#678D23 #238D7E #49238D #8D2332
split-complementary
#678D23 #23328D #7E238D
monochromatic
#1F2B0B #435C17 #678D23 #8BBE2F #A7D555

Accessibility & contrast

On white

3.88
#678D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#678D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678D23
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678D23#FFFFFF#000000##000000
##678D231.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830E
Deuteranopia (green-blind)
#8F812D
Tritanopia (blue-blind)
#6B8679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #678d23;
/* rgb */ color: rgb(103, 141, 35);
/* oklch */ color: oklch(59.4% 0.138 127.6);
Tailwind
colors: {
  custom: {
    50: '#96ae66',
    500: '#678d23',
    950: '#000000',
  },
}
SCSS
$custom: #678d23;
$custom-light: #96ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#678d23",
  "rgb": {
    "r": 103,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 81.509,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.13814,
    "h": 127.6
  },
  "luminance": 0.22055
}

Semantic roles & 50–950 ramp

primary
#678D23
secondary
#7753B9
accent
#44E37D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678D23

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

Preview Lab → · Contrast checker → · Palette generator →

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