#678118#678118

#678118 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.129 H 123.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#678118
RGBrgb(103, 129, 24)
HSLhsl(75, 69%, 30%)
HSVhsv(75, 81%, 51%)
CMYKcmyk(20.2%, 0%, 81.4%, 49.4%)
CIE-LABlab(50.28, -24.09, 49.21)
CIE-LCHlch(50.28, 54.80, 116.08°)
OKLaboklab(56.32% -0.0707 0.1079)
OKLCHoklch(56.32% 0.129 123.3)
XYZxyz(13.6088, 18.6499, 3.7468)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678118 #321881
analogous
#816618 #678118 #338118
triadic
#678118 #186781 #811867
tetradic
#678118 #188166 #321881 #811833
square
#678118 #188166 #321881 #811833
split-complementary
#678118 #183381 #661881
monochromatic
#151A05 #3E4D0E #678118 #90B522 #B2DA39

Accessibility & contrast

On white

4.44
#678118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#678118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678118
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678118#FFFFFF#000000##000000
##6781181.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#867723
Tritanopia (blue-blind)
#6D7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #678118;
/* rgb */ color: rgb(103, 129, 24);
/* oklch */ color: oklch(56.3% 0.129 123.3);
Tailwind
colors: {
  custom: {
    50: '#96a55f',
    500: '#678118',
    950: '#000000',
  },
}
SCSS
$custom: #678118;
$custom-light: #96a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#678118",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 74.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.12904,
    "h": 123.3
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#678118
secondary
#5D40B5
accent
#3CEB68
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678118

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

Preview Lab → · Contrast checker → · Palette generator →

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