#6B5915#6B5915

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

Color values

HEX#6B5915
RGBrgb(107, 89, 21)
HSLhsl(47, 67%, 25%)
HSVhsv(47, 80%, 42%)
CMYKcmyk(0%, 16.8%, 80.4%, 58%)
CIE-LABlab(38.42, -0.34, 39.46)
CIE-LCHlch(38.42, 39.46, 90.49°)
OKLaboklab(46.91% -0.0051 0.0864)
OKLCHoklch(46.91% 0.087 93.4)
XYZxyz(9.7717, 10.3253, 2.1876)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5915 #15276B
analogous
#6B2E15 #6B5915 #526B15
triadic
#6B5915 #156B59 #59156B
tetradic
#6B5915 #156B2E #15276B #6B1552
square
#6B5915 #156B2E #15276B #6B1552
split-complementary
#6B5915 #15526B #2E156B
monochromatic
#1A1505 #382E0B #6B5915 #9E841F #D1AE29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B5915#FFFFFF#000000##FFFFFF
##6B59151.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)
#635708
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#74514C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b5915;
/* rgb */ color: rgb(107, 89, 21);
/* oklch */ color: oklch(46.9% 0.087 93.4);
Tailwind
colors: {
  custom: {
    50: '#998758',
    500: '#6b5915',
    950: '#000000',
  },
}
SCSS
$custom: #6b5915;
$custom-light: #998758;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5915",
  "rgb": {
    "r": 107,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 47.442,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46908,
    "c": 0.08658,
    "h": 93.4
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#6B5915
secondary
#3A50A2
accent
#62EA3E
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B5915

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

Preview Lab → · Contrast checker → · Palette generator →

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