#6A6318#6A6318

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

Color values

HEX#6A6318
RGBrgb(106, 99, 24)
HSLhsl(55, 63%, 25%)
HSVhsv(55, 77%, 42%)
CMYKcmyk(0%, 6.6%, 77.4%, 58.4%)
CIE-LABlab(41.30, -6.54, 40.95)
CIE-LCHlch(41.30, 41.47, 99.07°)
OKLaboklab(49.18% -0.0223 0.0903)
OKLCHoklch(49.18% 0.093 103.9)
XYZxyz(10.5710, 12.0542, 2.6339)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6318 #181F6A
analogous
#6A3A18 #6A6318 #486A18
triadic
#6A6318 #186A63 #63186A
tetradic
#6A6318 #186A3A #181F6A #6A1848
square
#6A6318 #186A3A #181F6A #6A1848
split-complementary
#6A6318 #18486A #3A186A
monochromatic
#191706 #38340D #6A6318 #9C9223 #CEC02F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6318#FFFFFF#000000##FFFFFF
##6A63181.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)
#6C5F0A
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#725C54
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a6318;
/* rgb */ color: rgb(106, 99, 24);
/* oklch */ color: oklch(49.2% 0.093 103.9);
Tailwind
colors: {
  custom: {
    50: '#988f5b',
    500: '#6a6318',
    950: '#000000',
  },
}
SCSS
$custom: #6a6318;
$custom-light: #988f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6318",
  "rgb": {
    "r": 106,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 54.878,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.09302,
    "h": 103.9
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#6A6318
secondary
#3E46A0
accent
#50E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6318

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

Preview Lab → · Contrast checker → · Palette generator →

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