#6A6819#6A6819

#6A6819 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#6A6819
RGBrgb(106, 104, 25)
HSLhsl(59, 62%, 26%)
HSVhsv(59, 76%, 42%)
CMYKcmyk(0%, 1.9%, 76.4%, 58.4%)
CIE-LABlab(42.82, -9.34, 42.01)
CIE-LCHlch(42.82, 43.03, 102.54°)
OKLaboklab(50.38% -0.0301 0.0927)
OKLCHoklch(50.38% 0.098 108)
XYZxyz(11.0701, 13.0354, 2.8525)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6819 #191B6A
analogous
#6A3F19 #6A6819 #436A19
triadic
#6A6819 #196A68 #68196A
tetradic
#6A6819 #196A3F #191B6A #6A1943
square
#6A6819 #196A3F #191B6A #6A1943
split-complementary
#6A6819 #19436A #3F196A
monochromatic
#191806 #38370D #6A6819 #9C9925 #CDC930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6819#FFFFFF#000000##FFFFFF
##6A68191.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)
#71640A
Deuteranopia (green-blind)
#73661F
Tritanopia (blue-blind)
#726159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6819;
/* rgb */ color: rgb(106, 104, 25);
/* oklch */ color: oklch(50.4% 0.098 108.0);
Tailwind
colors: {
  custom: {
    50: '#97925c',
    500: '#6a6819',
    950: '#000000',
  },
}
SCSS
$custom: #6a6819;
$custom-light: #97925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6819",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 58.519,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.0975,
    "h": 108
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#6A6819
secondary
#3F42A0
accent
#47E543
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A6819

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

Preview Lab → · Contrast checker → · Palette generator →

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