#6A6618#6A6618

#6A6618 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.9% C 0.096 H 106.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6A6618
RGBrgb(106, 102, 24)
HSLhsl(57, 63%, 25%)
HSVhsv(57, 77%, 42%)
CMYKcmyk(0%, 3.8%, 77.4%, 58.4%)
CIE-LABlab(42.21, -8.26, 41.81)
CIE-LCHlch(42.21, 42.62, 101.17°)
OKLaboklab(49.89% -0.0271 0.0921)
OKLCHoklch(49.89% 0.096 106.4)
XYZxyz(10.8605, 12.6333, 2.7304)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6618 #181C6A
analogous
#6A3D18 #6A6618 #456A18
triadic
#6A6618 #186A66 #66186A
tetradic
#6A6618 #186A3D #181C6A #6A1845
square
#6A6618 #186A3D #181C6A #6A1845
split-complementary
#6A6618 #18456A #3D186A
monochromatic
#191806 #38360D #6A6618 #9C9623 #CEC62F

Accessibility & contrast

On white

5.95
#6A6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6A6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6618
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6618#FFFFFF#000000##FFFFFF
##6A66181.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6209
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#725F57
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6618;
/* rgb */ color: rgb(106, 102, 24);
/* oklch */ color: oklch(49.9% 0.096 106.4);
Tailwind
colors: {
  custom: {
    50: '#98915b',
    500: '#6a6618',
    950: '#000000',
  },
}
SCSS
$custom: #6a6618;
$custom-light: #98915b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6618",
  "rgb": {
    "r": 106,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 57.073,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49894,
    "c": 0.09604,
    "h": 106.4
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#6A6618
secondary
#3E43A0
accent
#4AE642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6618

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

Preview Lab → · Contrast checker → · Palette generator →

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