#6A6215#6A6215

#6A6215 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.9% C 0.094 H 103.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6A6215
RGBrgb(106, 98, 21)
HSLhsl(54, 67%, 25%)
HSVhsv(54, 80%, 42%)
CMYKcmyk(0%, 7.5%, 80.2%, 58.4%)
CIE-LABlab(40.98, -6.11, 41.81)
CIE-LCHlch(40.98, 42.25, 98.31°)
OKLaboklab(48.92% -0.0214 0.0915)
OKLCHoklch(48.92% 0.094 103.2)
XYZxyz(10.4474, 11.8541, 2.4471)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6215 #151D6A
analogous
#6A3815 #6A6215 #486A15
triadic
#6A6215 #156A62 #62156A
tetradic
#6A6215 #156A38 #151D6A #6A1548
square
#6A6215 #156A38 #151D6A #6A1548
split-complementary
#6A6215 #15486A #38156A
monochromatic
#1A1805 #37330B #6A6215 #9D911F #D0C029

Accessibility & contrast

On white

6.23
#6A6215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6A6215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6215
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6215#FFFFFF#000000##FFFFFF
##6A62151.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#735B53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6215;
/* rgb */ color: rgb(106, 98, 21);
/* oklch */ color: oklch(48.9% 0.094 103.2);
Tailwind
colors: {
  custom: {
    50: '#988e59',
    500: '#6a6215',
    950: '#000000',
  },
}
SCSS
$custom: #6a6215;
$custom-light: #988e59;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6215",
  "rgb": {
    "r": 106,
    "g": 98,
    "b": 21
  },
  "hsl": {
    "h": 54.353,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.09395,
    "h": 103.2
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#6A6215
secondary
#3A44A1
accent
#4EEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6215

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

Preview Lab → · Contrast checker → · Palette generator →

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