#6B6418#6B6418

#6B6418 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.5% C 0.094 H 104.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#6B6418
RGBrgb(107, 100, 24)
HSLhsl(55, 63%, 26%)
HSVhsv(55, 78%, 42%)
CMYKcmyk(0%, 6.5%, 77.6%, 58%)
CIE-LABlab(41.70, -6.63, 41.37)
CIE-LCHlch(41.70, 41.90, 99.11°)
OKLaboklab(49.51% -0.0226 0.0911)
OKLCHoklch(49.51% 0.094 104)
XYZxyz(10.7859, 12.3065, 2.6712)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6418 #181F6B
analogous
#6B3A18 #6B6418 #486B18
triadic
#6B6418 #186B64 #64186B
tetradic
#6B6418 #186B3A #181F6B #6B1848
square
#6B6418 #186B3A #181F6B #6B1848
split-complementary
#6B6418 #18486B #3A186B
monochromatic
#191706 #39350D #6B6418 #9D9323 #CFC12E

Accessibility & contrast

On white

6.07
#6B6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6B6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6418
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6418#FFFFFF#000000##FFFFFF
##6B64181.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E600A
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#745D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b6418;
/* rgb */ color: rgb(107, 100, 24);
/* oklch */ color: oklch(49.5% 0.094 104.0);
Tailwind
colors: {
  custom: {
    50: '#988f5b',
    500: '#6b6418',
    950: '#000000',
  },
}
SCSS
$custom: #6b6418;
$custom-light: #988f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6418",
  "rgb": {
    "r": 107,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 54.94,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.09391,
    "h": 104
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#6B6418
secondary
#3E46A1
accent
#4FE641
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6418

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

Preview Lab → · Contrast checker → · Palette generator →

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