#678A1C#678A1C

#678A1C is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.138 H 126.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#678A1C
RGBrgb(103, 138, 28)
HSLhsl(79, 66%, 33%)
HSVhsv(79, 80%, 54%)
CMYKcmyk(25.4%, 0%, 79.7%, 45.9%)
CIE-LABlab(53.11, -28.32, 50.54)
CIE-LCHlch(53.11, 57.94, 119.27°)
OKLaboklab(58.62% -0.082 0.1114)
OKLCHoklch(58.62% 0.138 126.3)
XYZxyz(14.8917, 21.1441, 4.3950)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A1C #3F1C8A
analogous
#8A761C #678A1C #308A1C
triadic
#678A1C #1C678A #8A1C67
tetradic
#678A1C #1C8A76 #3F1C8A #8A1C30
square
#678A1C #1C8A76 #3F1C8A #8A1C30
split-complementary
#678A1C #1C308A #761C8A
monochromatic
#1B2407 #415712 #678A1C #8DBD26 #ABDA47

Accessibility & contrast

On white

4.02
#678A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#678A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A1C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A1C#FFFFFF#000000##000000
##678A1C1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#6C8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a1c;
/* rgb */ color: rgb(103, 138, 28);
/* oklch */ color: oklch(58.6% 0.138 126.3);
Tailwind
colors: {
  custom: {
    50: '#96ac62',
    500: '#678a1c',
    950: '#000000',
  },
}
SCSS
$custom: #678a1c;
$custom-light: #96ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#678a1c",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 79.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58616,
    "c": 0.13832,
    "h": 126.3
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#678A1C
secondary
#6C46BB
accent
#3FE975
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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