#6B6318#6B6318

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

Color values

HEX#6B6318
RGBrgb(107, 99, 24)
HSLhsl(54, 63%, 26%)
HSVhsv(54, 78%, 42%)
CMYKcmyk(0%, 7.5%, 77.6%, 58%)
CIE-LABlab(41.40, -6.06, 41.08)
CIE-LCHlch(41.40, 41.53, 98.39°)
OKLaboklab(49.28% -0.021 0.0905)
OKLCHoklch(49.28% 0.093 103.1)
XYZxyz(10.6906, 12.1159, 2.6395)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6318 #18206B
analogous
#6B3918 #6B6318 #496B18
triadic
#6B6318 #186B63 #63186B
tetradic
#6B6318 #186B39 #18206B #6B1849
square
#6B6318 #186B39 #18206B #6B1849
split-complementary
#6B6318 #18496B #39186B
monochromatic
#191706 #39350D #6B6318 #9D9123 #CFC02E

Accessibility & contrast

On white

6.13
#6B6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B6318
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6318#FFFFFF#000000##FFFFFF
##6B63181.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600A
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#745C54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b6318;
/* rgb */ color: rgb(107, 99, 24);
/* oklch */ color: oklch(49.3% 0.093 103.1);
Tailwind
colors: {
  custom: {
    50: '#988f5b',
    500: '#6b6318',
    950: '#000000',
  },
}
SCSS
$custom: #6b6318;
$custom-light: #988f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6318",
  "rgb": {
    "r": 107,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 54.217,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.09294,
    "h": 103.1
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#6B6318
secondary
#3E48A1
accent
#51E641
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6318

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

Preview Lab → · Contrast checker → · Palette generator →

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