#6A5512#6A5512

#6A5512 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.9% C 0.086 H 90.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6A5512
RGBrgb(106, 85, 18)
HSLhsl(46, 71%, 24%)
HSVhsv(46, 83%, 42%)
CMYKcmyk(0%, 19.8%, 83%, 58.4%)
CIE-LABlab(37.12, 1.43, 39.39)
CIE-LCHlch(37.12, 39.42, 87.92°)
OKLaboklab(45.85% -0.0004 0.0857)
OKLCHoklch(45.85% 0.086 90.2)
XYZxyz(9.3021, 9.6054, 1.9362)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5512 #12276A
analogous
#6A2912 #6A5512 #536A12
triadic
#6A5512 #126A55 #55126A
tetradic
#6A5512 #126A29 #12276A #6A1253
square
#6A5512 #126A29 #12276A #6A1253
split-complementary
#6A5512 #12536A #29126A
monochromatic
#1A1504 #362B09 #6A5512 #9E7F1B #D3A924

Accessibility & contrast

On white

7.19
#6A5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6A5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A5512
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5512#FFFFFF#000000##FFFFFF
##6A55121.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#734D48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a5512;
/* rgb */ color: rgb(106, 85, 18);
/* oklch */ color: oklch(45.9% 0.086 90.2);
Tailwind
colors: {
  custom: {
    50: '#988456',
    500: '#6a5512',
    950: '#000000',
  },
}
SCSS
$custom: #6a5512;
$custom-light: #988456;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5512",
  "rgb": {
    "r": 106,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 45.682,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.08565,
    "h": 90.2
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#6A5512
secondary
#3650A2
accent
#65EE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0A03
muted
#7E7C78

Preview Lab

Preview with #6A5512

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

Preview Lab → · Contrast checker → · Palette generator →

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