#6A5F16#6A5F16

#6A5F16 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 48.2% C 0.091 H 100.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6A5F16
RGBrgb(106, 95, 22)
HSLhsl(52, 66%, 25%)
HSVhsv(52, 79%, 42%)
CMYKcmyk(0%, 10.4%, 79.2%, 58.4%)
CIE-LABlab(40.09, -4.32, 40.60)
CIE-LCHlch(40.09, 40.82, 96.07°)
OKLaboklab(48.21% -0.0163 0.0891)
OKLCHoklch(48.21% 0.091 100.3)
XYZxyz(10.1814, 11.3070, 2.4051)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5F16 #16216A
analogous
#6A3516 #6A5F16 #4B6A16
triadic
#6A5F16 #166A5F #5F166A
tetradic
#6A5F16 #166A35 #16216A #6A164B
square
#6A5F16 #166A35 #16216A #6A164B
split-complementary
#6A5F16 #164B6A #35166A
monochromatic
#191705 #37320B #6A5F16 #9D8C21 #CFBA2B

Accessibility & contrast

On white

6.44
#6A5F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6A5F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5F16
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5F16#FFFFFF#000000##FFFFFF
##6A5F161.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C08
Deuteranopia (green-blind)
#6C601B
Tritanopia (blue-blind)
#735751
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a5f16;
/* rgb */ color: rgb(106, 95, 22);
/* oklch */ color: oklch(48.2% 0.091 100.3);
Tailwind
colors: {
  custom: {
    50: '#988c5a',
    500: '#6a5f16',
    950: '#000000',
  },
}
SCSS
$custom: #6a5f16;
$custom-light: #988c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5f16",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 52.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.09059,
    "h": 100.3
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#6A5F16
secondary
#3B49A0
accent
#55E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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