#6A6814#6A6814

#6A6814 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#6A6814
RGBrgb(106, 104, 20)
HSLhsl(59, 68%, 25%)
HSVhsv(59, 81%, 42%)
CMYKcmyk(0%, 1.9%, 81.1%, 58.4%)
CIE-LABlab(42.79, -9.58, 43.81)
CIE-LCHlch(42.79, 44.85, 102.33°)
OKLaboklab(50.35% -0.0312 0.0956)
OKLCHoklch(50.35% 0.101 108.1)
XYZxyz(11.0209, 13.0157, 2.5934)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6814 #14166A
analogous
#6A3D14 #6A6814 #416A14
triadic
#6A6814 #146A68 #68146A
tetradic
#6A6814 #146A3D #14166A #6A1441
square
#6A6814 #146A3D #14166A #6A1441
split-complementary
#6A6814 #14416A #3D146A
monochromatic
#1A1905 #37350A #6A6814 #9D9B1E #D1CD27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6814#FFFFFF#000000##FFFFFF
##6A68141.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)
#73661B
Tritanopia (blue-blind)
#726158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a6814;
/* rgb */ color: rgb(106, 104, 20);
/* oklch */ color: oklch(50.3% 0.101 108.1);
Tailwind
colors: {
  custom: {
    50: '#98925a',
    500: '#6a6814',
    950: '#000000',
  },
}
SCSS
$custom: #6a6814;
$custom-light: #98925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6814",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 58.605,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.5035,
    "c": 0.10052,
    "h": 108.1
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#6A6814
secondary
#393BA1
accent
#41EB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A6814

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

Preview Lab → · Contrast checker → · Palette generator →

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