#6A6717#6A6717

#6A6717 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.098 H 107.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6A6717
RGBrgb(106, 103, 23)
HSLhsl(58, 64%, 25%)
HSVhsv(58, 78%, 42%)
CMYKcmyk(0%, 2.8%, 78.3%, 58.4%)
CIE-LABlab(42.50, -8.87, 42.47)
CIE-LCHlch(42.50, 43.39, 101.80°)
OKLaboklab(50.13% -0.029 0.0933)
OKLCHoklch(50.13% 0.098 107.3)
XYZxyz(10.9492, 12.8269, 2.7095)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6717 #171A6A
analogous
#6A3D17 #6A6717 #446A17
triadic
#6A6717 #176A67 #67176A
tetradic
#6A6717 #176A3D #171A6A #6A1744
square
#6A6717 #176A3D #171A6A #6A1744
split-complementary
#6A6717 #17446A #3D176A
monochromatic
#191805 #38360C #6A6717 #9C9822 #CFC92D

Accessibility & contrast

On white

5.89
#6A6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6717
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6717#FFFFFF#000000##FFFFFF
##6A67171.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706306
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6717;
/* rgb */ color: rgb(106, 103, 23);
/* oklch */ color: oklch(50.1% 0.098 107.3);
Tailwind
colors: {
  custom: {
    50: '#98925b',
    500: '#6a6717',
    950: '#000000',
  },
}
SCSS
$custom: #6a6717;
$custom-light: #98925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6717",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 57.831,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.09772,
    "h": 107.3
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#6A6717
secondary
#3D40A0
accent
#46E740
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6717

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

Preview Lab → · Contrast checker → · Palette generator →

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