#6A6418#6A6418

#6A6418 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.4% C 0.094 H 104.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6A6418
RGBrgb(106, 100, 24)
HSLhsl(56, 63%, 25%)
HSVhsv(56, 77%, 42%)
CMYKcmyk(0%, 5.7%, 77.4%, 58.4%)
CIE-LABlab(41.60, -7.11, 41.24)
CIE-LCHlch(41.60, 41.85, 99.79°)
OKLaboklab(49.41% -0.0239 0.0909)
OKLCHoklch(49.41% 0.094 104.7)
XYZxyz(10.6664, 12.2449, 2.6656)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6418 #181E6A
analogous
#6A3B18 #6A6418 #476A18
triadic
#6A6418 #186A64 #64186A
tetradic
#6A6418 #186A3B #181E6A #6A1847
square
#6A6418 #186A3B #181E6A #6A1847
split-complementary
#6A6418 #18476A #3B186A
monochromatic
#191806 #38350D #6A6418 #9C9323 #CEC22F

Accessibility & contrast

On white

6.09
#6A6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6A6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6418
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6418#FFFFFF#000000##FFFFFF
##6A64181.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600A
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#725D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a6418;
/* rgb */ color: rgb(106, 100, 24);
/* oklch */ color: oklch(49.4% 0.094 104.7);
Tailwind
colors: {
  custom: {
    50: '#988f5b',
    500: '#6a6418',
    950: '#000000',
  },
}
SCSS
$custom: #6a6418;
$custom-light: #988f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6418",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 55.61,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.09401,
    "h": 104.7
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#6A6418
secondary
#3E45A0
accent
#4EE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6418

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

Preview Lab → · Contrast checker → · Palette generator →

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