#6B5A15#6B5A15

#6B5A15 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 47.1% C 0.087 H 94.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6B5A15
RGBrgb(107, 90, 21)
HSLhsl(48, 67%, 25%)
HSVhsv(48, 80%, 42%)
CMYKcmyk(0%, 15.9%, 80.4%, 58%)
CIE-LABlab(38.71, -0.93, 39.73)
CIE-LCHlch(38.71, 39.74, 91.34°)
OKLaboklab(47.14% -0.0068 0.087)
OKLCHoklch(47.14% 0.087 94.5)
XYZxyz(9.8555, 10.4928, 2.2155)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5A15 #15266B
analogous
#6B2F15 #6B5A15 #516B15
triadic
#6B5A15 #156B5A #5A156B
tetradic
#6B5A15 #156B2F #15266B #6B1551
square
#6B5A15 #156B2F #15266B #6B1551
split-complementary
#6B5A15 #15516B #2F156B
monochromatic
#1A1605 #382F0B #6B5A15 #9E851F #D1B029

Accessibility & contrast

On white

6.78
#6B5A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6B5A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5A15
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5A15#FFFFFF#000000##FFFFFF
##6B5A151.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645808
Deuteranopia (green-blind)
#695D19
Tritanopia (blue-blind)
#74524D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b5a15;
/* rgb */ color: rgb(107, 90, 21);
/* oklch */ color: oklch(47.1% 0.087 94.5);
Tailwind
colors: {
  custom: {
    50: '#998858',
    500: '#6b5a15',
    950: '#000000',
  },
}
SCSS
$custom: #6b5a15;
$custom-light: #998858;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5a15",
  "rgb": {
    "r": 107,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 48.14,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.08728,
    "h": 94.5
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#6B5A15
secondary
#3A4FA2
accent
#60EA3E
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B5A15

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

Preview Lab → · Contrast checker → · Palette generator →

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