#6B6618#6B6618

#6B6618 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.0% C 0.096 H 105.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6B6618
RGBrgb(107, 102, 24)
HSLhsl(56, 63%, 26%)
HSVhsv(56, 78%, 42%)
CMYKcmyk(0%, 4.7%, 77.6%, 58%)
CIE-LABlab(42.30, -7.78, 41.94)
CIE-LCHlch(42.30, 42.65, 100.51°)
OKLaboklab(49.99% -0.0259 0.0924)
OKLCHoklch(49.99% 0.096 105.6)
XYZxyz(10.9801, 12.6949, 2.7360)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B6618 #181D6B
analogous
#6B3C18 #6B6618 #466B18
triadic
#6B6618 #186B66 #66186B
tetradic
#6B6618 #186B3C #181D6B #6B1846
square
#6B6618 #186B3C #181D6B #6B1846
split-complementary
#6B6618 #18466B #3C186B
monochromatic
#191806 #39360D #6B6618 #9D9623 #CFC52E

Accessibility & contrast

On white

5.93
#6B6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6B6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B6618
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B6618#FFFFFF#000000##FFFFFF
##6B66181.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6209
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#735F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b6618;
/* rgb */ color: rgb(107, 102, 24);
/* oklch */ color: oklch(50.0% 0.096 105.6);
Tailwind
colors: {
  custom: {
    50: '#98915b',
    500: '#6b6618',
    950: '#000000',
  },
}
SCSS
$custom: #6b6618;
$custom-light: #98915b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b6618",
  "rgb": {
    "r": 107,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 56.386,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.0959,
    "h": 105.6
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#6B6618
secondary
#3E44A1
accent
#4BE641
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B6618

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

Preview Lab → · Contrast checker → · Palette generator →

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