#6A6511#6A6511

#6A6511 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.6% C 0.099 H 105.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6A6511
RGBrgb(106, 101, 17)
HSLhsl(57, 72%, 24%)
HSVhsv(57, 84%, 42%)
CMYKcmyk(0%, 4.7%, 84%, 58.4%)
CIE-LABlab(41.86, -7.99, 43.98)
CIE-LCHlch(41.86, 44.70, 100.30°)
OKLaboklab(49.61% -0.0271 0.0953)
OKLCHoklch(49.61% 0.099 105.9)
XYZxyz(10.6992, 12.4124, 2.3625)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6511 #11166A
analogous
#6A3911 #6A6511 #436A11
triadic
#6A6511 #116A65 #65116A
tetradic
#6A6511 #116A39 #11166A #6A1143
square
#6A6511 #116A39 #11166A #6A1143
split-complementary
#6A6511 #11436A #39116A
monochromatic
#1A1904 #353309 #6A6511 #9F9719 #D3CA22

Accessibility & contrast

On white

6.03
#6A6511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6A6511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6511
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6511#FFFFFF#000000##FFFFFF
##6A65111.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#716418
Tritanopia (blue-blind)
#735D56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a6511;
/* rgb */ color: rgb(106, 101, 17);
/* oklch */ color: oklch(49.6% 0.099 105.9);
Tailwind
colors: {
  custom: {
    50: '#989058',
    500: '#6a6511',
    950: '#000000',
  },
}
SCSS
$custom: #6a6511;
$custom-light: #989058;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6511",
  "rgb": {
    "r": 106,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 56.629,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.09907,
    "h": 105.9
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#6A6511
secondary
#353BA2
accent
#43EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6511

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

Preview Lab → · Contrast checker → · Palette generator →

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