#6A5612#6A5612

#6A5612 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 46.1% C 0.086 H 91.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6A5612
RGBrgb(106, 86, 18)
HSLhsl(46, 71%, 24%)
HSVhsv(46, 83%, 42%)
CMYKcmyk(0%, 18.9%, 83%, 58.4%)
CIE-LABlab(37.42, 0.83, 39.66)
CIE-LCHlch(37.42, 39.66, 88.80°)
OKLaboklab(46.08% -0.0021 0.0862)
OKLCHoklch(46.08% 0.086 91.4)
XYZxyz(9.3814, 9.7640, 1.9627)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5612 #12266A
analogous
#6A2A12 #6A5612 #526A12
triadic
#6A5612 #126A56 #56126A
tetradic
#6A5612 #126A2A #12266A #6A1252
square
#6A5612 #126A2A #12266A #6A1252
split-complementary
#6A5612 #12526A #2A126A
monochromatic
#1A1504 #362C09 #6A5612 #9E801B #D3AB24

Accessibility & contrast

On white

7.11
#6A5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6A5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A5612
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5612#FFFFFF#000000##FFFFFF
##6A56121.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615504
Deuteranopia (green-blind)
#665A16
Tritanopia (blue-blind)
#734E49
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a5612;
/* rgb */ color: rgb(106, 86, 18);
/* oklch */ color: oklch(46.1% 0.086 91.4);
Tailwind
colors: {
  custom: {
    50: '#988556',
    500: '#6a5612',
    950: '#000000',
  },
}
SCSS
$custom: #6a5612;
$custom-light: #988556;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5612",
  "rgb": {
    "r": 106,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 46.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.08625,
    "h": 91.4
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#6A5612
secondary
#364FA2
accent
#63EE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #6A5612

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

Preview Lab → · Contrast checker → · Palette generator →

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