#6D6818#6D6818

#6D6818 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.7% C 0.098 H 105.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6D6818
RGBrgb(109, 104, 24)
HSLhsl(56, 64%, 26%)
HSVhsv(56, 78%, 43%)
CMYKcmyk(0%, 4.6%, 78%, 57.3%)
CIE-LABlab(43.09, -7.96, 42.75)
CIE-LCHlch(43.09, 43.48, 100.54°)
OKLaboklab(50.67% -0.0265 0.094)
OKLCHoklch(50.67% 0.098 105.7)
XYZxyz(11.4223, 13.2182, 2.8137)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6818 #181D6D
analogous
#6D3D18 #6D6818 #476D18
triadic
#6D6818 #186D68 #68186D
tetradic
#6D6818 #186D3D #181D6D #6D1847
square
#6D6818 #186D3D #181D6D #6D1847
split-complementary
#6D6818 #18476D #3D186D
monochromatic
#191806 #3B380D #6D6818 #9F9823 #D1C72E

Accessibility & contrast

On white

5.76
#6D6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6D6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6818
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6818#FFFFFF#000000##FFFFFF
##6D68181.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#74671E
Tritanopia (blue-blind)
#766059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d6818;
/* rgb */ color: rgb(109, 104, 24);
/* oklch */ color: oklch(50.7% 0.098 105.7);
Tailwind
colors: {
  custom: {
    50: '#9a925c',
    500: '#6d6818',
    950: '#000000',
  },
}
SCSS
$custom: #6d6818;
$custom-light: #9a925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6818",
  "rgb": {
    "r": 109,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 56.471,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.09765,
    "h": 105.7
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#6D6818
secondary
#3E44A3
accent
#4BE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6D6818

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

Preview Lab → · Contrast checker → · Palette generator →

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