#678318#678318

#678318 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.132 H 124.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#678318
RGBrgb(103, 131, 24)
HSLhsl(76, 69%, 30%)
HSVhsv(76, 82%, 51%)
CMYKcmyk(21.4%, 0%, 81.7%, 48.6%)
CIE-LABlab(50.90, -25.09, 49.78)
CIE-LCHlch(50.90, 55.75, 116.75°)
OKLaboklab(56.82% -0.0735 0.1091)
OKLCHoklch(56.82% 0.132 124)
XYZxyz(13.8749, 19.1820, 3.8355)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678318 #341883
analogous
#836918 #678318 #318318
triadic
#678318 #186783 #831867
tetradic
#678318 #188369 #341883 #831831
square
#678318 #188369 #341883 #831831
split-complementary
#678318 #183183 #691883
monochromatic
#161C05 #3E4F0F #678318 #90B721 #B1DB3A

Accessibility & contrast

On white

4.34
#678318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#678318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678318
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678318#FFFFFF#000000##000000
##6783181.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#6C7C6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #678318;
/* rgb */ color: rgb(103, 131, 24);
/* oklch */ color: oklch(56.8% 0.132 124.0);
Tailwind
colors: {
  custom: {
    50: '#96a75f',
    500: '#678318',
    950: '#000000',
  },
}
SCSS
$custom: #678318;
$custom-light: #96a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#678318",
  "rgb": {
    "r": 103,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 75.701,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.13154,
    "h": 124
  },
  "luminance": 0.19182
}

Semantic roles & 50–950 ramp

primary
#678318
secondary
#5F40B7
accent
#3CEC6A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678318

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

Preview Lab → · Contrast checker → · Palette generator →

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