#6A6918#6A6918

#6A6918 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.099 H 108.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6A6918
RGBrgb(106, 105, 24)
HSLhsl(59, 63%, 25%)
HSVhsv(59, 77%, 42%)
CMYKcmyk(0%, 0.9%, 77.4%, 58.4%)
CIE-LABlab(43.11, -9.96, 42.67)
CIE-LCHlch(43.11, 43.82, 103.13°)
OKLaboklab(50.62% -0.0319 0.094)
OKLCHoklch(50.62% 0.099 108.8)
XYZxyz(11.1607, 13.2336, 2.8304)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6918 #18196A
analogous
#6A4018 #6A6918 #426A18
triadic
#6A6918 #186A69 #69186A
tetradic
#6A6918 #186A40 #18196A #6A1842
square
#6A6918 #186A40 #18196A #6A1842
split-complementary
#6A6918 #18426A #40186A
monochromatic
#191906 #38380D #6A6918 #9C9A23 #CECC2F

Accessibility & contrast

On white

5.76
#6A6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6A6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6918
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6918#FFFFFF#000000##FFFFFF
##6A69181.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726407
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#72625A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6918;
/* rgb */ color: rgb(106, 105, 24);
/* oklch */ color: oklch(50.6% 0.099 108.8);
Tailwind
colors: {
  custom: {
    50: '#97935c',
    500: '#6a6918',
    950: '#000000',
  },
}
SCSS
$custom: #6a6918;
$custom-light: #97935c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6918",
  "rgb": {
    "r": 106,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 59.268,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50618,
    "c": 0.09922,
    "h": 108.8
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#6A6918
secondary
#3E3FA0
accent
#44E642
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6918

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

Preview Lab → · Contrast checker → · Palette generator →

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