#678A2D#678A2D

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

Color values

HEX#678A2D
RGBrgb(103, 138, 45)
HSLhsl(83, 51%, 36%)
HSVhsv(83, 67%, 54%)
CMYKcmyk(25.4%, 0%, 67.4%, 45.9%)
CIE-LABlab(53.22, -27.24, 44.16)
CIE-LCHlch(53.22, 51.88, 121.67°)
OKLaboklab(58.75% -0.0775 0.1007)
OKLCHoklch(58.75% 0.127 127.6)
XYZxyz(15.1556, 21.2497, 5.7852)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A2D #502D8A
analogous
#8A7E2D #678A2D #388A2D
triadic
#678A2D #2D678A #8A2D67
tetradic
#678A2D #2D8A7E #502D8A #8A2D38
square
#678A2D #2D8A7E #502D8A #8A2D38
split-complementary
#678A2D #2D388A #7E2D8A
monochromatic
#222E0F #455C1E #678A2D #89B83C #A6CD65

Accessibility & contrast

On white

4.00
#678A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#678A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A2D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A2D#FFFFFF#000000##000000
##678A2D1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#6B8477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a2d;
/* rgb */ color: rgb(103, 138, 45);
/* oklch */ color: oklch(58.7% 0.127 127.6);
Tailwind
colors: {
  custom: {
    50: '#95ac6b',
    500: '#678a2d',
    950: '#000000',
  },
}
SCSS
$custom: #678a2d;
$custom-light: #95ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#678a2d",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 82.581,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58746,
    "c": 0.1271,
    "h": 127.6
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#678A2D
secondary
#7F60B3
accent
#4DDA82
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #678A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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