#6A6813#6A6813

#6A6813 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.3% C 0.101 H 108.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6A6813
RGBrgb(106, 104, 19)
HSLhsl(59, 70%, 25%)
HSVhsv(59, 82%, 42%)
CMYKcmyk(0%, 1.9%, 82.1%, 58.4%)
CIE-LABlab(42.78, -9.62, 44.15)
CIE-LCHlch(42.78, 45.18, 102.29°)
OKLaboklab(50.34% -0.0314 0.0961)
OKLCHoklch(50.34% 0.101 108.1)
XYZxyz(11.0122, 13.0122, 2.5475)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6813 #13156A
analogous
#6A3D13 #6A6813 #416A13
triadic
#6A6813 #136A68 #68136A
tetradic
#6A6813 #136A3D #13156A #6A1341
square
#6A6813 #136A3D #13156A #6A1341
split-complementary
#6A6813 #13416A #3D136A
monochromatic
#1A1905 #36350A #6A6813 #9E9B1C #D2CE26

Accessibility & contrast

On white

5.83
#6A6813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6A6813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6813
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6813#FFFFFF#000000##FFFFFF
##6A68131.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#73661A
Tritanopia (blue-blind)
#726158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6813;
/* rgb */ color: rgb(106, 104, 19);
/* oklch */ color: oklch(50.3% 0.101 108.1);
Tailwind
colors: {
  custom: {
    50: '#989259',
    500: '#6a6813',
    950: '#000000',
  },
}
SCSS
$custom: #6a6813;
$custom-light: #989259;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6813",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 58.621,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.10107,
    "h": 108.1
  },
  "luminance": 0.13012
}

Semantic roles & 50–950 ramp

primary
#6A6813
secondary
#383AA1
accent
#3FEC3B
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A6813

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

Preview Lab → · Contrast checker → · Palette generator →

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