#6A6615#6A6615

#6A6615 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.9% C 0.098 H 106.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6A6615
RGBrgb(106, 102, 21)
HSLhsl(57, 67%, 25%)
HSVhsv(57, 80%, 42%)
CMYKcmyk(0%, 3.8%, 80.2%, 58.4%)
CIE-LABlab(42.19, -8.40, 42.92)
CIE-LCHlch(42.19, 43.73, 101.07°)
OKLaboklab(49.87% -0.0278 0.0939)
OKLCHoklch(49.87% 0.098 106.5)
XYZxyz(10.8310, 12.6215, 2.5750)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6615 #15196A
analogous
#6A3B15 #6A6615 #446A15
triadic
#6A6615 #156A66 #66156A
tetradic
#6A6615 #156A3B #15196A #6A1544
square
#6A6615 #156A3B #15196A #6A1544
split-complementary
#6A6615 #15446A #3B156A
monochromatic
#1A1905 #37350B #6A6615 #9D971F #D0C829

Accessibility & contrast

On white

5.96
#6A6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6A6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6615
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6615#FFFFFF#000000##FFFFFF
##6A66151.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6203
Deuteranopia (green-blind)
#71651B
Tritanopia (blue-blind)
#725F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6615;
/* rgb */ color: rgb(106, 102, 21);
/* oklch */ color: oklch(49.9% 0.098 106.5);
Tailwind
colors: {
  custom: {
    50: '#98915a',
    500: '#6a6615',
    950: '#000000',
  },
}
SCSS
$custom: #6a6615;
$custom-light: #98915a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6615",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 57.176,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49874,
    "c": 0.09789,
    "h": 106.5
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#6A6615
secondary
#3A3FA1
accent
#46EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6615

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

Preview Lab → · Contrast checker → · Palette generator →

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