#678F20#678F20

#678F20 is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.142 H 127.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#678F20
RGBrgb(103, 143, 32)
HSLhsl(82, 63%, 34%)
HSVhsv(82, 78%, 56%)
CMYKcmyk(28%, 0%, 77.6%, 43.9%)
CIE-LABlab(54.69, -30.50, 50.70)
CIE-LCHlch(54.69, 59.17, 121.03°)
OKLaboklab(59.91% -0.0876 0.1124)
OKLCHoklch(59.91% 0.143 127.9)
XYZxyz(15.6767, 22.6324, 4.9088)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F20 #48208F
analogous
#8F8020 #678F20 #2F8F20
triadic
#678F20 #20678F #8F2067
tetradic
#678F20 #208F80 #48208F #8F202F
square
#678F20 #208F80 #48208F #8F202F
split-complementary
#678F20 #202F8F #80208F
monochromatic
#1F2B0A #435D15 #678F20 #8BC12B #A8D851

Accessibility & contrast

On white

3.80
#678F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#678F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678F20
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678F20#FFFFFF#000000##000000
##678F201.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968505
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#6B887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f20;
/* rgb */ color: rgb(103, 143, 32);
/* oklch */ color: oklch(59.9% 0.142 127.9);
Tailwind
colors: {
  custom: {
    50: '#96b065',
    500: '#678f20',
    950: '#000000',
  },
}
SCSS
$custom: #678f20;
$custom-light: #96b065;
$custom-dark: #000000;
JSON
{
  "hex": "#678f20",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 81.622,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.1425,
    "h": 127.9
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

primary
#678F20
secondary
#764FBB
accent
#41E67D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678F20

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

Preview Lab → · Contrast checker → · Palette generator →

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