#6B6315#6B6315

#6B6315 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.3% C 0.095 H 103.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6B6315
RGBrgb(107, 99, 21)
HSLhsl(54, 67%, 25%)
HSVhsv(54, 80%, 42%)
CMYKcmyk(0%, 7.5%, 80.4%, 58%)
CIE-LABlab(41.38, -6.20, 42.21)
CIE-LCHlch(41.38, 42.66, 98.35°)
OKLaboklab(49.26% -0.0217 0.0923)
OKLCHoklch(49.26% 0.095 103.2)
XYZxyz(10.6611, 12.1041, 2.4841)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6315 #151D6B
analogous
#6B3815 #6B6315 #486B15
triadic
#6B6315 #156B63 #63156B
tetradic
#6B6315 #156B38 #151D6B #6B1548
square
#6B6315 #156B38 #151D6B #6B1548
split-complementary
#6B6315 #15486B #38156B
monochromatic
#1A1805 #38340B #6B6315 #9E921F #D1C229

Accessibility & contrast

On white

6.14
#6B6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6B6315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6315
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6315#FFFFFF#000000##FFFFFF
##6B63151.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F04
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#745B54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b6315;
/* rgb */ color: rgb(107, 99, 21);
/* oklch */ color: oklch(49.3% 0.095 103.2);
Tailwind
colors: {
  custom: {
    50: '#988f5a',
    500: '#6b6315',
    950: '#000000',
  },
}
SCSS
$custom: #6b6315;
$custom-light: #988f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6315",
  "rgb": {
    "r": 107,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 54.419,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.09482,
    "h": 103.2
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#6B6315
secondary
#3A44A2
accent
#4EEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6315

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

Preview Lab → · Contrast checker → · Palette generator →

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