#678218#678218

#678218 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.6% C 0.130 H 123.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#678218
RGBrgb(103, 130, 24)
HSLhsl(75, 69%, 30%)
HSVhsv(75, 82%, 51%)
CMYKcmyk(20.8%, 0%, 81.5%, 49%)
CIE-LABlab(50.59, -24.59, 49.50)
CIE-LCHlch(50.59, 55.27, 116.42°)
OKLaboklab(56.57% -0.0721 0.1085)
OKLCHoklch(56.57% 0.13 123.6)
XYZxyz(13.7412, 18.9147, 3.7909)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678218 #331882
analogous
#826818 #678218 #328218
triadic
#678218 #186782 #821867
tetradic
#678218 #188268 #331882 #821832
square
#678218 #188268 #331882 #821832
split-complementary
#678218 #183282 #681882
monochromatic
#151B05 #3E4E0E #678218 #90B622 #B2DB3A

Accessibility & contrast

On white

4.39
#678218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#678218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678218
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678218#FFFFFF#000000##000000
##6782181.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#6D7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #678218;
/* rgb */ color: rgb(103, 130, 24);
/* oklch */ color: oklch(56.6% 0.130 123.6);
Tailwind
colors: {
  custom: {
    50: '#96a65f',
    500: '#678218',
    950: '#000000',
  },
}
SCSS
$custom: #678218;
$custom-light: #96a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#678218",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 75.283,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56568,
    "c": 0.13029,
    "h": 123.6
  },
  "luminance": 0.18915
}

Semantic roles & 50–950 ramp

primary
#678218
secondary
#5E40B6
accent
#3CEC69
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678218

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

Preview Lab → · Contrast checker → · Palette generator →

#678218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva