#6A5712#6A5712

#6A5712 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.3% C 0.087 H 92.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6A5712
RGBrgb(106, 87, 18)
HSLhsl(47, 71%, 24%)
HSVhsv(47, 83%, 42%)
CMYKcmyk(0%, 17.9%, 83%, 58.4%)
CIE-LABlab(37.71, 0.23, 39.92)
CIE-LCHlch(37.71, 39.92, 89.66°)
OKLaboklab(46.31% -0.0038 0.0868)
OKLCHoklch(46.31% 0.087 92.5)
XYZxyz(9.4618, 9.9248, 1.9895)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5712 #12256A
analogous
#6A2B12 #6A5712 #516A12
triadic
#6A5712 #126A57 #57126A
tetradic
#6A5712 #126A2B #12256A #6A1251
square
#6A5712 #126A2B #12256A #6A1251
split-complementary
#6A5712 #12516A #2B126A
monochromatic
#1A1504 #362C09 #6A5712 #9E821B #D3AD24

Accessibility & contrast

On white

7.04
#6A5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6A5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A5712
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5712#FFFFFF#000000##FFFFFF
##6A57121.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#665B16
Tritanopia (blue-blind)
#734F4A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a5712;
/* rgb */ color: rgb(106, 87, 18);
/* oklch */ color: oklch(46.3% 0.087 92.5);
Tailwind
colors: {
  custom: {
    50: '#988656',
    500: '#6a5712',
    950: '#000000',
  },
}
SCSS
$custom: #6a5712;
$custom-light: #988656;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5712",
  "rgb": {
    "r": 106,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 47.045,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.08687,
    "h": 92.5
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#6A5712
secondary
#364DA2
accent
#61EE3A
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #6A5712

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

Preview Lab → · Contrast checker → · Palette generator →

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