#6B5918#6B5918

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

Color values

HEX#6B5918
RGBrgb(107, 89, 24)
HSLhsl(47, 63%, 26%)
HSVhsv(47, 78%, 42%)
CMYKcmyk(0%, 16.8%, 77.6%, 58%)
CIE-LABlab(38.44, -0.19, 38.23)
CIE-LCHlch(38.44, 38.23, 90.29°)
OKLaboklab(46.93% -0.0044 0.0845)
OKLCHoklch(46.93% 0.085 93)
XYZxyz(9.8012, 10.3371, 2.3430)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5918 #182A6B
analogous
#6B2F18 #6B5918 #536B18
triadic
#6B5918 #186B59 #59186B
tetradic
#6B5918 #186B2F #182A6B #6B1853
square
#6B5918 #186B2F #182A6B #6B1853
split-complementary
#6B5918 #18536B #2F186B
monochromatic
#191506 #392F0D #6B5918 #9D8323 #CFAC2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B5918#FFFFFF#000000##FFFFFF
##6B59181.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)
#63570E
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#74514C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b5918;
/* rgb */ color: rgb(107, 89, 24);
/* oklch */ color: oklch(46.9% 0.085 93.0);
Tailwind
colors: {
  custom: {
    50: '#99875a',
    500: '#6b5918',
    950: '#000000',
  },
}
SCSS
$custom: #6b5918;
$custom-light: #99875a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5918",
  "rgb": {
    "r": 107,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 46.988,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.0846,
    "h": 93
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#6B5918
secondary
#3E53A1
accent
#65E641
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B5918

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

Preview Lab → · Contrast checker → · Palette generator →

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