#6A6117#6A6117

#6A6117 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.7% C 0.092 H 102.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6A6117
RGBrgb(106, 97, 23)
HSLhsl(53, 64%, 25%)
HSVhsv(53, 78%, 42%)
CMYKcmyk(0%, 8.5%, 78.3%, 58.4%)
CIE-LABlab(40.70, -5.43, 40.77)
CIE-LCHlch(40.70, 41.13, 97.59°)
OKLaboklab(48.69% -0.0193 0.0897)
OKLCHoklch(48.69% 0.092 102.1)
XYZxyz(10.3737, 11.6759, 2.5177)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6117 #17206A
analogous
#6A3717 #6A6117 #496A17
triadic
#6A6117 #176A61 #61176A
tetradic
#6A6117 #176A37 #17206A #6A1749
square
#6A6117 #176A37 #17206A #6A1749
split-complementary
#6A6117 #17496A #37176A
monochromatic
#191705 #38330C #6A6117 #9C8F22 #CFBD2D

Accessibility & contrast

On white

6.30
#6A6117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6A6117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6117
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6117#FFFFFF#000000##FFFFFF
##6A61171.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#735A53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a6117;
/* rgb */ color: rgb(106, 97, 23);
/* oklch */ color: oklch(48.7% 0.092 102.1);
Tailwind
colors: {
  custom: {
    50: '#988d5a',
    500: '#6a6117',
    950: '#000000',
  },
}
SCSS
$custom: #6a6117;
$custom-light: #988d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6117",
  "rgb": {
    "r": 106,
    "g": 97,
    "b": 23
  },
  "hsl": {
    "h": 53.494,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.09176,
    "h": 102.1
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#6A6117
secondary
#3D47A0
accent
#53E740
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6117

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

Preview Lab → · Contrast checker → · Palette generator →

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