#6A6415#6A6415

#6A6415 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.4% C 0.096 H 104.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6A6415
RGBrgb(106, 100, 21)
HSLhsl(56, 67%, 25%)
HSVhsv(56, 80%, 42%)
CMYKcmyk(0%, 5.7%, 80.2%, 58.4%)
CIE-LABlab(41.58, -7.26, 42.36)
CIE-LCHlch(41.58, 42.98, 99.72°)
OKLaboklab(49.39% -0.0246 0.0927)
OKLCHoklch(49.39% 0.096 104.9)
XYZxyz(10.6368, 12.2331, 2.5102)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6415 #151B6A
analogous
#6A3A15 #6A6415 #456A15
triadic
#6A6415 #156A64 #64156A
tetradic
#6A6415 #156A3A #151B6A #6A1545
square
#6A6415 #156A3A #151B6A #6A1545
split-complementary
#6A6415 #15456A #3A156A
monochromatic
#1A1805 #37340B #6A6415 #9D941F #D0C429

Accessibility & contrast

On white

6.09
#6A6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6A6415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6415
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6415#FFFFFF#000000##FFFFFF
##6A64151.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6004
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#725D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a6415;
/* rgb */ color: rgb(106, 100, 21);
/* oklch */ color: oklch(49.4% 0.096 104.9);
Tailwind
colors: {
  custom: {
    50: '#988f5a',
    500: '#6a6415',
    950: '#000000',
  },
}
SCSS
$custom: #6a6415;
$custom-light: #988f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6415",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 55.765,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.09589,
    "h": 104.9
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#6A6415
secondary
#3A41A1
accent
#4AEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6415

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

Preview Lab → · Contrast checker → · Palette generator →

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