#6A6317#6A6317

#6A6317 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.2% C 0.094 H 103.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6A6317
RGBrgb(106, 99, 23)
HSLhsl(55, 64%, 25%)
HSVhsv(55, 78%, 42%)
CMYKcmyk(0%, 6.6%, 78.3%, 58.4%)
CIE-LABlab(41.30, -6.59, 41.34)
CIE-LCHlch(41.30, 41.86, 99.06°)
OKLaboklab(49.17% -0.0226 0.0909)
OKLCHoklch(49.17% 0.094 103.9)
XYZxyz(10.5608, 12.0501, 2.5801)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6317 #171E6A
analogous
#6A3A17 #6A6317 #476A17
triadic
#6A6317 #176A63 #63176A
tetradic
#6A6317 #176A3A #171E6A #6A1747
square
#6A6317 #176A3A #171E6A #6A1747
split-complementary
#6A6317 #17476A #3A176A
monochromatic
#191705 #38340C #6A6317 #9C9222 #CFC12D

Accessibility & contrast

On white

6.16
#6A6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6A6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6317
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6317#FFFFFF#000000##FFFFFF
##6A63171.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F08
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#725C54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6317;
/* rgb */ color: rgb(106, 99, 23);
/* oklch */ color: oklch(49.2% 0.094 103.9);
Tailwind
colors: {
  custom: {
    50: '#988f5b',
    500: '#6a6317',
    950: '#000000',
  },
}
SCSS
$custom: #6a6317;
$custom-light: #988f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6317",
  "rgb": {
    "r": 106,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 54.94,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.09368,
    "h": 103.9
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#6A6317
secondary
#3D45A0
accent
#4FE740
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6317

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

Preview Lab → · Contrast checker → · Palette generator →

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