#678A2C#678A2C

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

Color values

HEX#678A2C
RGBrgb(103, 138, 44)
HSLhsl(82, 52%, 36%)
HSVhsv(82, 68%, 54%)
CMYKcmyk(25.4%, 0%, 68.1%, 45.9%)
CIE-LABlab(53.21, -27.31, 44.58)
CIE-LCHlch(53.21, 52.28, 121.50°)
OKLaboklab(58.74% -0.0778 0.1015)
OKLCHoklch(58.74% 0.128 127.5)
XYZxyz(15.1366, 21.2421, 5.6850)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A2C #4F2C8A
analogous
#8A7E2C #678A2C #388A2C
triadic
#678A2C #2C678A #8A2C67
tetradic
#678A2C #2C8A7E #4F2C8A #8A2C38
square
#678A2C #2C8A7E #4F2C8A #8A2C38
split-complementary
#678A2C #2C388A #7E2C8A
monochromatic
#222D0E #445C1D #678A2C #8AB83B #A6CD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678A2C#FFFFFF#000000##000000
##678A2C1.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)
#91811F
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#6B8477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a2c;
/* rgb */ color: rgb(103, 138, 44);
/* oklch */ color: oklch(58.7% 0.128 127.5);
Tailwind
colors: {
  custom: {
    50: '#95ac6a',
    500: '#678a2c',
    950: '#000000',
  },
}
SCSS
$custom: #678a2c;
$custom-light: #95ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#678a2c",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 82.34,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.12788,
    "h": 127.5
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#678A2C
secondary
#7E5EB4
accent
#4DDB82
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #678A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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