#667018#667018

#667018 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.0% C 0.108 H 116.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#667018
RGBrgb(102, 112, 24)
HSLhsl(67, 65%, 27%)
HSVhsv(67, 79%, 44%)
CMYKcmyk(8.9%, 0%, 78.6%, 56.1%)
CIE-LABlab(44.91, -15.69, 44.24)
CIE-LCHlch(44.91, 46.94, 109.53°)
OKLaboklab(51.97% -0.0476 0.0974)
OKLCHoklch(51.97% 0.108 116)
XYZxyz(11.4388, 14.4792, 3.0562)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667018 #221870
analogous
#704E18 #667018 #3A7018
triadic
#667018 #186670 #701866
tetradic
#667018 #18704E #221870 #70183A
square
#667018 #18704E #221870 #70183A
split-complementary
#667018 #183A70 #4E1870
monochromatic
#171905 #383E0D #667018 #94A223 #C0D330

Accessibility & contrast

On white

5.39
#667018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#667018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667018
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667018#FFFFFF#000000##FFFFFF
##6670181.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A04
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#6D695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #667018;
/* rgb */ color: rgb(102, 112, 24);
/* oklch */ color: oklch(52.0% 0.108 116.0);
Tailwind
colors: {
  custom: {
    50: '#94995d',
    500: '#667018',
    950: '#000000',
  },
}
SCSS
$custom: #667018;
$custom-light: #94995d;
$custom-dark: #000000;
JSON
{
  "hex": "#667018",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 66.818,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.10844,
    "h": 116
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#667018
secondary
#4A3EA5
accent
#40E853
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #667018

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

Preview Lab → · Contrast checker → · Palette generator →

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