#6A6916#6A6916

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

Color values

HEX#6A6916
RGBrgb(106, 105, 22)
HSLhsl(59, 66%, 25%)
HSVhsv(59, 79%, 42%)
CMYKcmyk(0%, 0.9%, 79.2%, 58.4%)
CIE-LABlab(43.10, -10.05, 43.40)
CIE-LCHlch(43.10, 44.55, 103.04°)
OKLaboklab(50.61% -0.0324 0.0951)
OKLCHoklch(50.61% 0.1 108.8)
XYZxyz(11.1407, 13.2256, 2.7248)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6916 #16176A
analogous
#6A3F16 #6A6916 #416A16
triadic
#6A6916 #166A69 #69166A
tetradic
#6A6916 #166A3F #16176A #6A1641
square
#6A6916 #166A3F #16176A #6A1641
split-complementary
#6A6916 #16416A #3F166A
monochromatic
#191905 #37370B #6A6916 #9D9B21 #CFCD2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6916#FFFFFF#000000##FFFFFF
##6A69161.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)
#726404
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#726259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6916;
/* rgb */ color: rgb(106, 105, 22);
/* oklch */ color: oklch(50.6% 0.100 108.8);
Tailwind
colors: {
  custom: {
    50: '#98935b',
    500: '#6a6916',
    950: '#000000',
  },
}
SCSS
$custom: #6a6916;
$custom-light: #98935b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6916",
  "rgb": {
    "r": 106,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 59.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.10044,
    "h": 108.8
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#6A6916
secondary
#3B3DA0
accent
#41E93F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6916

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

Preview Lab → · Contrast checker → · Palette generator →

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