#6B6818#6B6818

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

Color values

HEX#6B6818
RGBrgb(107, 104, 24)
HSLhsl(58, 63%, 26%)
HSVhsv(58, 78%, 42%)
CMYKcmyk(0%, 2.8%, 77.6%, 58%)
CIE-LABlab(42.90, -8.91, 42.51)
CIE-LCHlch(42.90, 43.43, 101.84°)
OKLaboklab(50.47% -0.029 0.0935)
OKLCHoklch(50.47% 0.098 107.2)
XYZxyz(11.1790, 13.0928, 2.8023)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6818 #181B6B
analogous
#6B3E18 #6B6818 #446B18
triadic
#6B6818 #186B68 #68186B
tetradic
#6B6818 #186B3E #181B6B #6B1844
square
#6B6818 #186B3E #181B6B #6B1844
split-complementary
#6B6818 #18446B #3E186B
monochromatic
#191806 #39370D #6B6818 #9D9923 #CFC92E

Accessibility & contrast

On white

5.80
#6B6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B6818
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6818#FFFFFF#000000##FFFFFF
##6B68181.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716408
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#736159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b6818;
/* rgb */ color: rgb(107, 104, 24);
/* oklch */ color: oklch(50.5% 0.098 107.2);
Tailwind
colors: {
  custom: {
    50: '#98925c',
    500: '#6b6818',
    950: '#000000',
  },
}
SCSS
$custom: #6b6818;
$custom-light: #98925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6818",
  "rgb": {
    "r": 107,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 57.831,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50472,
    "c": 0.09795,
    "h": 107.2
  },
  "luminance": 0.13092
}

Semantic roles & 50–950 ramp

primary
#6B6818
secondary
#3E42A1
accent
#47E641
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6B6818

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

Preview Lab → · Contrast checker → · Palette generator →

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