#667017#667017

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

Color values

HEX#667017
RGBrgb(102, 112, 23)
HSLhsl(67, 66%, 26%)
HSVhsv(67, 79%, 44%)
CMYKcmyk(8.9%, 0%, 79.5%, 56.1%)
CIE-LABlab(44.91, -15.74, 44.59)
CIE-LCHlch(44.91, 47.29, 109.45°)
OKLaboklab(51.97% -0.0478 0.098)
OKLCHoklch(51.97% 0.109 116)
XYZxyz(11.4286, 14.4752, 3.0024)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667017 #211770
analogous
#704E17 #667017 #3A7017
triadic
#667017 #176670 #701766
tetradic
#667017 #17704E #211770 #70173A
square
#667017 #17704E #211770 #70173A
split-complementary
#667017 #173A70 #4E1770
monochromatic
#171905 #383D0D #667017 #94A321 #C1D42D

Accessibility & contrast

On white

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

On black

3.89
#667017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##667017#FFFFFF#000000##FFFFFF
##6670171.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #667017;
/* rgb */ color: rgb(102, 112, 23);
/* oklch */ color: oklch(52.0% 0.109 116.0);
Tailwind
colors: {
  custom: {
    50: '#95995c',
    500: '#667017',
    950: '#000000',
  },
}
SCSS
$custom: #667017;
$custom-light: #95995c;
$custom-dark: #000000;
JSON
{
  "hex": "#667017",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 66.742,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.10902,
    "h": 116
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#667017
secondary
#493DA6
accent
#3FE952
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #667017

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

Preview Lab → · Contrast checker → · Palette generator →

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