#6A6818#6A6818

#6A6818 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.4% C 0.098 H 108.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6A6818
RGBrgb(106, 104, 24)
HSLhsl(59, 63%, 25%)
HSVhsv(59, 77%, 42%)
CMYKcmyk(0%, 1.9%, 77.4%, 58.4%)
CIE-LABlab(42.81, -9.39, 42.39)
CIE-LCHlch(42.81, 43.41, 102.49°)
OKLaboklab(50.38% -0.0303 0.0933)
OKLCHoklch(50.38% 0.098 108)
XYZxyz(11.0595, 13.0311, 2.7967)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6818 #181A6A
analogous
#6A3F18 #6A6818 #436A18
triadic
#6A6818 #186A68 #68186A
tetradic
#6A6818 #186A3F #181A6A #6A1843
square
#6A6818 #186A3F #181A6A #6A1843
split-complementary
#6A6818 #18436A #3F186A
monochromatic
#191806 #38370D #6A6818 #9C9923 #CECA2F

Accessibility & contrast

On white

5.82
#6A6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6A6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6818
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6818#FFFFFF#000000##FFFFFF
##6A68181.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a6818;
/* rgb */ color: rgb(106, 104, 24);
/* oklch */ color: oklch(50.4% 0.098 108.0);
Tailwind
colors: {
  custom: {
    50: '#97925c',
    500: '#6a6818',
    950: '#000000',
  },
}
SCSS
$custom: #6a6818;
$custom-light: #97925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6818",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 58.537,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50376,
    "c": 0.09814,
    "h": 108
  },
  "luminance": 0.13031
}

Semantic roles & 50–950 ramp

primary
#6A6818
secondary
#3E40A0
accent
#46E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A6818

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

Preview Lab → · Contrast checker → · Palette generator →

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