#6B5917#6B5917

#6B5917 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.9% C 0.085 H 93.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6B5917
RGBrgb(107, 89, 23)
HSLhsl(47, 65%, 25%)
HSVhsv(47, 79%, 42%)
CMYKcmyk(0%, 16.8%, 78.5%, 58%)
CIE-LABlab(38.43, -0.24, 38.65)
CIE-LCHlch(38.43, 38.65, 90.36°)
OKLaboklab(46.92% -0.0046 0.0852)
OKLCHoklch(46.92% 0.085 93.1)
XYZxyz(9.7910, 10.3330, 2.2892)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5917 #17296B
analogous
#6B2F17 #6B5917 #536B17
triadic
#6B5917 #176B59 #59176B
tetradic
#6B5917 #176B2F #17296B #6B1753
square
#6B5917 #176B2F #17296B #6B1753
split-complementary
#6B5917 #17536B #2F176B
monochromatic
#191505 #392F0C #6B5917 #9D8322 #D0AD2D

Accessibility & contrast

On white

6.85
#6B5917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6B5917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5917
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5917#FFFFFF#000000##FFFFFF
##6B59171.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63570C
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#74514C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b5917;
/* rgb */ color: rgb(107, 89, 23);
/* oklch */ color: oklch(46.9% 0.085 93.1);
Tailwind
colors: {
  custom: {
    50: '#998759',
    500: '#6b5917',
    950: '#000000',
  },
}
SCSS
$custom: #6b5917;
$custom-light: #998759;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5917",
  "rgb": {
    "r": 107,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 47.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46923,
    "c": 0.08529,
    "h": 93.1
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#6B5917
secondary
#3D52A1
accent
#64E840
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B5917

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

Preview Lab → · Contrast checker → · Palette generator →

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