#6A6018#6A6018

#6A6018 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.5% C 0.090 H 101.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6A6018
RGBrgb(106, 96, 24)
HSLhsl(53, 63%, 25%)
HSVhsv(53, 77%, 42%)
CMYKcmyk(0%, 9.4%, 77.4%, 58.4%)
CIE-LABlab(40.40, -4.80, 40.10)
CIE-LCHlch(40.40, 40.38, 96.83°)
OKLaboklab(48.46% -0.0174 0.0885)
OKLCHoklch(48.46% 0.09 101.1)
XYZxyz(10.2921, 11.4963, 2.5409)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6018 #18226A
analogous
#6A3718 #6A6018 #4B6A18
triadic
#6A6018 #186A60 #60186A
tetradic
#6A6018 #186A37 #18226A #6A184B
square
#6A6018 #186A37 #18226A #6A184B
split-complementary
#6A6018 #184B6A #37186A
monochromatic
#191706 #38330D #6A6018 #9C8D23 #CEBA2F

Accessibility & contrast

On white

6.37
#6A6018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6A6018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6018
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6018#FFFFFF#000000##FFFFFF
##6A60181.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0B
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#735952
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6a6018;
/* rgb */ color: rgb(106, 96, 24);
/* oklch */ color: oklch(48.5% 0.090 101.1);
Tailwind
colors: {
  custom: {
    50: '#988c5b',
    500: '#6a6018',
    950: '#000000',
  },
}
SCSS
$custom: #6a6018;
$custom-light: #988c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6018",
  "rgb": {
    "r": 106,
    "g": 96,
    "b": 24
  },
  "hsl": {
    "h": 52.683,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48461,
    "c": 0.09018,
    "h": 101.1
  },
  "luminance": 0.11496
}

Semantic roles & 50–950 ramp

primary
#6A6018
secondary
#3E4AA0
accent
#56E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6018

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

Preview Lab → · Contrast checker → · Palette generator →

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