#678A23#678A23

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

Color values

HEX#678A23
RGBrgb(103, 138, 35)
HSLhsl(80, 60%, 34%)
HSVhsv(80, 75%, 54%)
CMYKcmyk(25.4%, 0%, 74.6%, 45.9%)
CIE-LABlab(53.15, -27.94, 48.14)
CIE-LCHlch(53.15, 55.66, 120.13°)
OKLaboklab(58.66% -0.0803 0.1075)
OKLCHoklch(58.66% 0.134 126.8)
XYZxyz(14.9854, 21.1816, 4.8887)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A23 #46238A
analogous
#8A7A23 #678A23 #348A23
triadic
#678A23 #23678A #8A2367
tetradic
#678A23 #238A7A #46238A #8A2334
square
#678A23 #238A7A #46238A #8A2334
split-complementary
#678A23 #23348A #7A238A
monochromatic
#1E280A #435917 #678A23 #8BBB2F #A8D454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678A23#FFFFFF#000000##000000
##678A231.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)
#91800F
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#6B8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a23;
/* rgb */ color: rgb(103, 138, 35);
/* oklch */ color: oklch(58.7% 0.134 126.8);
Tailwind
colors: {
  custom: {
    50: '#96ac65',
    500: '#678a23',
    950: '#000000',
  },
}
SCSS
$custom: #678a23;
$custom-light: #96ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#678a23",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 80.388,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.13423,
    "h": 126.8
  },
  "luminance": 0.21182
}

Semantic roles & 50–950 ramp

primary
#678A23
secondary
#7451B7
accent
#45E37B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A23

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

Preview Lab → · Contrast checker → · Palette generator →

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