#6A6017#6A6017

#6A6017 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.5% C 0.091 H 101.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6A6017
RGBrgb(106, 96, 23)
HSLhsl(53, 64%, 25%)
HSVhsv(53, 78%, 42%)
CMYKcmyk(0%, 9.4%, 78.3%, 58.4%)
CIE-LABlab(40.40, -4.85, 40.49)
CIE-LCHlch(40.40, 40.78, 96.83°)
OKLaboklab(48.45% -0.0177 0.0891)
OKLCHoklch(48.45% 0.091 101.2)
XYZxyz(10.2819, 11.4922, 2.4871)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6017 #17216A
analogous
#6A3617 #6A6017 #4A6A17
triadic
#6A6017 #176A60 #60176A
tetradic
#6A6017 #176A36 #17216A #6A174A
square
#6A6017 #176A36 #17216A #6A174A
split-complementary
#6A6017 #174A6A #36176A
monochromatic
#191705 #38320C #6A6017 #9C8E22 #CFBB2D

Accessibility & contrast

On white

6.37
#6A6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6A6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6017
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6017#FFFFFF#000000##FFFFFF
##6A60171.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#6D611C
Tritanopia (blue-blind)
#735952
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a6017;
/* rgb */ color: rgb(106, 96, 23);
/* oklch */ color: oklch(48.5% 0.091 101.2);
Tailwind
colors: {
  custom: {
    50: '#988c5a',
    500: '#6a6017',
    950: '#000000',
  },
}
SCSS
$custom: #6a6017;
$custom-light: #988c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6017",
  "rgb": {
    "r": 106,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 52.771,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.09085,
    "h": 101.2
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#6A6017
secondary
#3D49A0
accent
#55E740
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6017

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

Preview Lab → · Contrast checker → · Palette generator →

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