#6B6815#6B6815

#6B6815 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.5% C 0.100 H 107.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6B6815
RGBrgb(107, 104, 21)
HSLhsl(58, 67%, 25%)
HSVhsv(58, 80%, 42%)
CMYKcmyk(0%, 2.8%, 80.4%, 58%)
CIE-LABlab(42.88, -9.05, 43.59)
CIE-LCHlch(42.88, 44.52, 101.73°)
OKLaboklab(50.45% -0.0297 0.0952)
OKLCHoklch(50.45% 0.1 107.3)
XYZxyz(11.1495, 13.0810, 2.6469)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6815 #15186B
analogous
#6B3D15 #6B6815 #436B15
triadic
#6B6815 #156B68 #68156B
tetradic
#6B6815 #156B3D #15186B #6B1543
square
#6B6815 #156B3D #15186B #6B1543
split-complementary
#6B6815 #15436B #3D156B
monochromatic
#1A1905 #38360B #6B6815 #9E9A1F #D1CB29

Accessibility & contrast

On white

5.81
#6B6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6815
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6815#FFFFFF#000000##FFFFFF
##6B68151.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716402
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#736158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b6815;
/* rgb */ color: rgb(107, 104, 21);
/* oklch */ color: oklch(50.5% 0.100 107.3);
Tailwind
colors: {
  custom: {
    50: '#98925a',
    500: '#6b6815',
    950: '#000000',
  },
}
SCSS
$custom: #6b6815;
$custom-light: #98925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6815",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 57.907,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.09977,
    "h": 107.3
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#6B6815
secondary
#3A3EA2
accent
#44EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6B6815

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

Preview Lab → · Contrast checker → · Palette generator →

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