#6A5A0F#6A5A0F

#6A5A0F is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 47.0% C 0.091 H 96.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6A5A0F
RGBrgb(106, 90, 15)
HSLhsl(49, 75%, 24%)
HSVhsv(49, 86%, 42%)
CMYKcmyk(0%, 15.1%, 85.8%, 58.4%)
CIE-LABlab(38.57, -1.67, 41.75)
CIE-LCHlch(38.57, 41.78, 92.29°)
OKLaboklab(46.99% -0.0095 0.09)
OKLCHoklch(46.99% 0.091 96)
XYZxyz(9.6868, 10.4115, 1.9513)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5A0F #0F1F6A
analogous
#6A2C0F #6A5A0F #4C6A0F
triadic
#6A5A0F #0F6A5A #5A0F6A
tetradic
#6A5A0F #0F6A2C #0F1F6A #6A0F4C
square
#6A5A0F #0F6A2C #0F1F6A #6A0F4C
split-complementary
#6A5A0F #0F4C6A #2C0F6A
monochromatic
#1B1704 #342C07 #6A5A0F #A08817 #D5B51E

Accessibility & contrast

On white

6.81
#6A5A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6A5A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5A0F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5A0F#FFFFFF#000000##FFFFFF
##6A5A0F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#695D15
Tritanopia (blue-blind)
#73524C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a5a0f;
/* rgb */ color: rgb(106, 90, 15);
/* oklch */ color: oklch(47.0% 0.091 96.0);
Tailwind
colors: {
  custom: {
    50: '#988856',
    500: '#6a5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #6a5a0f;
$custom-light: #988856;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5a0f",
  "rgb": {
    "r": 106,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 49.451,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.09054,
    "h": 96
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#6A5A0F
secondary
#3246A2
accent
#57F236
background
#F9F8F5
surface
#F2EFE9
border
#CCCAC5
text
#0E0B03
muted
#7E7C78

Preview Lab

Preview with #6A5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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