#6A6115#6A6115

#6A6115 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.7% C 0.093 H 102.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6A6115
RGBrgb(106, 97, 21)
HSLhsl(54, 67%, 25%)
HSVhsv(54, 80%, 42%)
CMYKcmyk(0%, 8.5%, 80.2%, 58.4%)
CIE-LABlab(40.68, -5.53, 41.53)
CIE-LCHlch(40.68, 41.90, 97.58°)
OKLaboklab(48.68% -0.0198 0.0909)
OKLCHoklch(48.68% 0.093 102.3)
XYZxyz(10.3544, 11.6682, 2.4161)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6115 #151E6A
analogous
#6A3715 #6A6115 #496A15
triadic
#6A6115 #156A61 #61156A
tetradic
#6A6115 #156A37 #151E6A #6A1549
square
#6A6115 #156A37 #151E6A #6A1549
split-complementary
#6A6115 #15496A #37156A
monochromatic
#1A1705 #37320B #6A6115 #9D901F #D0BE29

Accessibility & contrast

On white

6.30
#6A6115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6A6115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6115
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6115#FFFFFF#000000##FFFFFF
##6A61151.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E05
Deuteranopia (green-blind)
#6D621B
Tritanopia (blue-blind)
#735A53
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a6115;
/* rgb */ color: rgb(106, 97, 21);
/* oklch */ color: oklch(48.7% 0.093 102.3);
Tailwind
colors: {
  custom: {
    50: '#988d59',
    500: '#6a6115',
    950: '#000000',
  },
}
SCSS
$custom: #6a6115;
$custom-light: #988d59;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6115",
  "rgb": {
    "r": 106,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 53.647,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.09302,
    "h": 102.3
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#6A6115
secondary
#3A45A1
accent
#50EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6115

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

Preview Lab → · Contrast checker → · Palette generator →

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