#6B6017#6B6017

#6B6017 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.6% C 0.091 H 100.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6B6017
RGBrgb(107, 96, 23)
HSLhsl(52, 65%, 25%)
HSVhsv(52, 79%, 42%)
CMYKcmyk(0%, 10.3%, 78.5%, 58%)
CIE-LABlab(40.50, -4.37, 40.62)
CIE-LCHlch(40.50, 40.86, 96.14°)
OKLaboklab(48.56% -0.0163 0.0893)
OKLCHoklch(48.56% 0.091 100.4)
XYZxyz(10.4014, 11.5539, 2.4927)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6017 #17226B
analogous
#6B3617 #6B6017 #4C6B17
triadic
#6B6017 #176B60 #60176B
tetradic
#6B6017 #176B36 #17226B #6B174C
square
#6B6017 #176B36 #17226B #6B174C
split-complementary
#6B6017 #174C6B #36176B
monochromatic
#191705 #39330C #6B6017 #9D8D22 #D0BA2D

Accessibility & contrast

On white

6.34
#6B6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6B6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6017
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6017#FFFFFF#000000##FFFFFF
##6B60171.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#745852
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b6017;
/* rgb */ color: rgb(107, 96, 23);
/* oklch */ color: oklch(48.6% 0.091 100.4);
Tailwind
colors: {
  custom: {
    50: '#988c5a',
    500: '#6b6017',
    950: '#000000',
  },
}
SCSS
$custom: #6b6017;
$custom-light: #988c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6017",
  "rgb": {
    "r": 107,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 52.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48557,
    "c": 0.09082,
    "h": 100.4
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#6B6017
secondary
#3D4AA1
accent
#56E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6017

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

Preview Lab → · Contrast checker → · Palette generator →

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