#667918#667918

#667918 is a mid, moderate yellow-green. Relative luminance 0.166; OKLCH L 54.2% C 0.119 H 120.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#667918
RGBrgb(102, 121, 24)
HSLhsl(72, 67%, 28%)
HSVhsv(72, 80%, 47%)
CMYKcmyk(15.7%, 0%, 80.2%, 52.5%)
CIE-LABlab(47.71, -20.46, 46.84)
CIE-LCHlch(47.71, 51.11, 113.59°)
OKLaboklab(54.22% -0.0607 0.1029)
OKLCHoklch(54.22% 0.12 120.6)
XYZxyz(12.4820, 16.5655, 3.4039)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667918 #2B1879
analogous
#795B18 #667918 #357918
triadic
#667918 #186679 #791866
tetradic
#667918 #18795B #2B1879 #791835
square
#667918 #18795B #2B1879 #791835
split-complementary
#667918 #183579 #5B1879
monochromatic
#161A05 #3B460E #667918 #91AC22 #B7D735

Accessibility & contrast

On white

4.87
#667918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#667918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667918
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667918#FFFFFF#000000##FFFFFF
##6679181.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7F7121
Tritanopia (blue-blind)
#6C7267
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #667918;
/* rgb */ color: rgb(102, 121, 24);
/* oklch */ color: oklch(54.2% 0.119 120.6);
Tailwind
colors: {
  custom: {
    50: '#959f5e',
    500: '#667918',
    950: '#000000',
  },
}
SCSS
$custom: #667918;
$custom-light: #959f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#667918",
  "rgb": {
    "r": 102,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 71.753,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.1195,
    "h": 120.6
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#667918
secondary
#553FAE
accent
#3EEA60
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #667918

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

Preview Lab → · Contrast checker → · Palette generator →

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