#6A6515#6A6515

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

Color values

HEX#6A6515
RGBrgb(106, 101, 21)
HSLhsl(56, 67%, 25%)
HSVhsv(56, 80%, 42%)
CMYKcmyk(0%, 4.7%, 80.2%, 58.4%)
CIE-LABlab(41.89, -7.83, 42.64)
CIE-LCHlch(41.89, 43.35, 100.40°)
OKLaboklab(49.63% -0.0262 0.0933)
OKLCHoklch(49.63% 0.097 105.7)
XYZxyz(10.7334, 12.4261, 2.5424)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6515 #151A6A
analogous
#6A3B15 #6A6515 #446A15
triadic
#6A6515 #156A65 #65156A
tetradic
#6A6515 #156A3B #151A6A #6A1544
square
#6A6515 #156A3B #151A6A #6A1544
split-complementary
#6A6515 #15446A #3B156A
monochromatic
#1A1805 #37340B #6A6515 #9D961F #D0C629

Accessibility & contrast

On white

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

On black

3.49
#6A6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6A6515#FFFFFF#000000##FFFFFF
##6A65151.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6104
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#725E56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a6515;
/* rgb */ color: rgb(106, 101, 21);
/* oklch */ color: oklch(49.6% 0.097 105.7);
Tailwind
colors: {
  custom: {
    50: '#98905a',
    500: '#6a6515',
    950: '#000000',
  },
}
SCSS
$custom: #6a6515;
$custom-light: #98905a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6515",
  "rgb": {
    "r": 106,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 56.471,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49633,
    "c": 0.09688,
    "h": 105.7
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#6A6515
secondary
#3A40A1
accent
#48EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6515

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

Preview Lab → · Contrast checker → · Palette generator →

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