#6B6216#6B6216

#6B6216 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 49.0% C 0.093 H 102.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6B6216
RGBrgb(107, 98, 22)
HSLhsl(54, 66%, 25%)
HSVhsv(54, 79%, 42%)
CMYKcmyk(0%, 8.4%, 79.4%, 58%)
CIE-LABlab(41.09, -5.58, 41.56)
CIE-LCHlch(41.09, 41.94, 97.64°)
OKLaboklab(49.02% -0.0199 0.0911)
OKLCHoklch(49.02% 0.093 102.3)
XYZxyz(10.5764, 11.9196, 2.5025)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6216 #161F6B
analogous
#6B3716 #6B6216 #496B16
triadic
#6B6216 #166B62 #62166B
tetradic
#6B6216 #166B37 #161F6B #6B1649
square
#6B6216 #166B37 #161F6B #6B1649
split-complementary
#6B6216 #16496B #37166B
monochromatic
#191705 #38340C #6B6216 #9E9020 #D1BF2B

Accessibility & contrast

On white

6.21
#6B6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6B6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6216
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6216#FFFFFF#000000##FFFFFF
##6B62161.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#6E631B
Tritanopia (blue-blind)
#745A54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b6216;
/* rgb */ color: rgb(107, 98, 22);
/* oklch */ color: oklch(49.0% 0.093 102.3);
Tailwind
colors: {
  custom: {
    50: '#988e5a',
    500: '#6b6216',
    950: '#000000',
  },
}
SCSS
$custom: #6b6216;
$custom-light: #988e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6216",
  "rgb": {
    "r": 107,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 53.647,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49024,
    "c": 0.09328,
    "h": 102.3
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#6B6216
secondary
#3B46A1
accent
#51E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6216

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

Preview Lab → · Contrast checker → · Palette generator →

#6B6216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva