#6A6718#6A6718

#6A6718 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.1% C 0.097 H 107.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#6A6718
RGBrgb(106, 103, 24)
HSLhsl(58, 63%, 25%)
HSVhsv(58, 77%, 42%)
CMYKcmyk(0%, 2.8%, 77.4%, 58.4%)
CIE-LABlab(42.51, -8.83, 42.10)
CIE-LCHlch(42.51, 43.02, 101.84°)
OKLaboklab(50.14% -0.0287 0.0927)
OKLCHoklch(50.14% 0.097 107.2)
XYZxyz(10.9594, 12.8310, 2.7633)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6718 #181B6A
analogous
#6A3E18 #6A6718 #446A18
triadic
#6A6718 #186A67 #67186A
tetradic
#6A6718 #186A3E #181B6A #6A1844
square
#6A6718 #186A3E #181B6A #6A1844
split-complementary
#6A6718 #18446A #3E186A
monochromatic
#191806 #38370D #6A6718 #9C9723 #CEC82F

Accessibility & contrast

On white

5.89
#6A6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6718
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6718#FFFFFF#000000##FFFFFF
##6A67181.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706308
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a6718;
/* rgb */ color: rgb(106, 103, 24);
/* oklch */ color: oklch(50.1% 0.097 107.2);
Tailwind
colors: {
  custom: {
    50: '#98925c',
    500: '#6a6718',
    950: '#000000',
  },
}
SCSS
$custom: #6a6718;
$custom-light: #98925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6718",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 57.805,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.09708,
    "h": 107.2
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#6A6718
secondary
#3E42A0
accent
#48E642
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A6718

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

Preview Lab → · Contrast checker → · Palette generator →

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