#6A681A#6A681A

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

Color values

HEX#6A681A
RGBrgb(106, 104, 26)
HSLhsl(59, 61%, 26%)
HSVhsv(59, 75%, 42%)
CMYKcmyk(0%, 1.9%, 75.5%, 58.4%)
CIE-LABlab(42.82, -9.29, 41.62)
CIE-LCHlch(42.82, 42.64, 102.58°)
OKLaboklab(50.39% -0.0298 0.0921)
OKLCHoklch(50.39% 0.097 107.9)
XYZxyz(11.0810, 13.0397, 2.9103)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A681A #1A1C6A
analogous
#6A401A #6A681A #446A1A
triadic
#6A681A #1A6A68 #681A6A
tetradic
#6A681A #1A6A40 #1A1C6A #6A1A44
square
#6A681A #1A6A40 #1A1C6A #6A1A44
split-complementary
#6A681A #1A446A #401A6A
monochromatic
#191806 #39380E #6A681A #9B9826 #CCC832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A681A#FFFFFF#000000##FFFFFF
##6A681A1.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)
#71640C
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#726159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a681a;
/* rgb */ color: rgb(106, 104, 26);
/* oklch */ color: oklch(50.4% 0.097 107.9);
Tailwind
colors: {
  custom: {
    50: '#97925d',
    500: '#6a681a',
    950: '#000000',
  },
}
SCSS
$custom: #6a681a;
$custom-light: #97925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a681a",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 58.5,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.09683,
    "h": 107.9
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#6A681A
secondary
#40439F
accent
#48E444
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A681A

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

Preview Lab → · Contrast checker → · Palette generator →

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