#6A6315#6A6315

#6A6315 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 49.2% C 0.095 H 104.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6A6315
RGBrgb(106, 99, 21)
HSLhsl(55, 67%, 25%)
HSVhsv(55, 80%, 42%)
CMYKcmyk(0%, 6.6%, 80.2%, 58.4%)
CIE-LABlab(41.28, -6.68, 42.08)
CIE-LCHlch(41.28, 42.61, 99.02°)
OKLaboklab(49.15% -0.023 0.0921)
OKLCHoklch(49.15% 0.095 104)
XYZxyz(10.5415, 12.0424, 2.4785)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6315 #151C6A
analogous
#6A3915 #6A6315 #466A15
triadic
#6A6315 #156A63 #63156A
tetradic
#6A6315 #156A39 #151C6A #6A1546
square
#6A6315 #156A39 #151C6A #6A1546
split-complementary
#6A6315 #15466A #39156A
monochromatic
#1A1805 #37330B #6A6315 #9D931F #D0C229

Accessibility & contrast

On white

6.16
#6A6315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6A6315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6315
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6315#FFFFFF#000000##FFFFFF
##6A63151.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F04
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#735C54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6315;
/* rgb */ color: rgb(106, 99, 21);
/* oklch */ color: oklch(49.2% 0.095 104.0);
Tailwind
colors: {
  custom: {
    50: '#988f5a',
    500: '#6a6315',
    950: '#000000',
  },
}
SCSS
$custom: #6a6315;
$custom-light: #988f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6315",
  "rgb": {
    "r": 106,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 55.059,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.09492,
    "h": 104
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#6A6315
secondary
#3A43A1
accent
#4CEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6315

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

Preview Lab → · Contrast checker → · Palette generator →

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