#678A20#678A20

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

Color values

HEX#678A20
RGBrgb(103, 138, 32)
HSLhsl(80, 62%, 33%)
HSVhsv(80, 77%, 54%)
CMYKcmyk(25.4%, 0%, 76.8%, 45.9%)
CIE-LABlab(53.13, -28.11, 49.21)
CIE-LCHlch(53.13, 56.67, 119.74°)
OKLaboklab(58.64% -0.0811 0.1093)
OKLCHoklch(58.64% 0.136 126.6)
XYZxyz(14.9428, 21.1645, 4.6641)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A20 #43208A
analogous
#8A7820 #678A20 #328A20
triadic
#678A20 #20678A #8A2067
tetradic
#678A20 #208A78 #43208A #8A2032
square
#678A20 #208A78 #43208A #8A2032
split-complementary
#678A20 #20328A #78208A
monochromatic
#1D2709 #425814 #678A20 #8CBC2C #A9D64E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##678A20#FFFFFF#000000##000000
##678A201.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#6B8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a20;
/* rgb */ color: rgb(103, 138, 32);
/* oklch */ color: oklch(58.6% 0.136 126.6);
Tailwind
colors: {
  custom: {
    50: '#96ac64',
    500: '#678a20',
    950: '#000000',
  },
}
SCSS
$custom: #678a20;
$custom-light: #96ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#678a20",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 79.811,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.13607,
    "h": 126.6
  },
  "luminance": 0.21165
}

Semantic roles & 50–950 ramp

primary
#678A20
secondary
#714DB9
accent
#42E578
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A20

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

Preview Lab → · Contrast checker → · Palette generator →

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