#6A5F17#6A5F17

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

Color values

HEX#6A5F17
RGBrgb(106, 95, 23)
HSLhsl(52, 64%, 25%)
HSVhsv(52, 78%, 42%)
CMYKcmyk(0%, 10.4%, 78.3%, 58.4%)
CIE-LABlab(40.10, -4.27, 40.21)
CIE-LCHlch(40.10, 40.43, 96.06°)
OKLaboklab(48.22% -0.016 0.0885)
OKLCHoklch(48.22% 0.09 100.3)
XYZxyz(10.1912, 11.3109, 2.4569)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5F17 #17226A
analogous
#6A3517 #6A5F17 #4B6A17
triadic
#6A5F17 #176A5F #5F176A
tetradic
#6A5F17 #176A35 #17226A #6A174B
square
#6A5F17 #176A35 #17226A #6A174B
split-complementary
#6A5F17 #174B6A #35176A
monochromatic
#191705 #38320C #6A5F17 #9C8C22 #CFB92D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A5F17#FFFFFF#000000##FFFFFF
##6A5F171.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)
#695C0A
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#735851
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a5f17;
/* rgb */ color: rgb(106, 95, 23);
/* oklch */ color: oklch(48.2% 0.090 100.3);
Tailwind
colors: {
  custom: {
    50: '#988c5a',
    500: '#6a5f17',
    950: '#000000',
  },
}
SCSS
$custom: #6a5f17;
$custom-light: #988c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5f17",
  "rgb": {
    "r": 106,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 52.048,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.08995,
    "h": 100.3
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#6A5F17
secondary
#3D4AA0
accent
#57E740
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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