#667316#667316

#667316 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.7% C 0.113 H 117.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#667316
RGBrgb(102, 115, 22)
HSLhsl(68, 68%, 27%)
HSVhsv(68, 81%, 45%)
CMYKcmyk(11.3%, 0%, 80.9%, 54.9%)
CIE-LABlab(45.83, -17.40, 45.78)
CIE-LCHlch(45.83, 48.97, 110.81°)
OKLaboklab(52.71% -0.0525 0.1003)
OKLCHoklch(52.71% 0.113 117.6)
XYZxyz(11.7553, 15.1443, 3.0628)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667316 #231673
analogous
#735216 #667316 #387316
triadic
#667316 #166673 #731666
tetradic
#667316 #167352 #231673 #731638
square
#667316 #167352 #231673 #731638
split-complementary
#667316 #163873 #521673
monochromatic
#171A05 #38400C #667316 #94A620 #BFD72D

Accessibility & contrast

On white

5.21
#667316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#667316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667316
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667316#FFFFFF#000000##FFFFFF
##6673161.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#6D6C62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #667316;
/* rgb */ color: rgb(102, 115, 22);
/* oklch */ color: oklch(52.7% 0.113 117.6);
Tailwind
colors: {
  custom: {
    50: '#959b5c',
    500: '#667316',
    950: '#000000',
  },
}
SCSS
$custom: #667316;
$custom-light: #959b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#667316",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 68.387,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.11321,
    "h": 117.6
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#667316
secondary
#4B3CA9
accent
#3DEB55
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667316

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

Preview Lab → · Contrast checker → · Palette generator →

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