#6A6917#6A6917

#6A6917 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#6A6917
RGBrgb(106, 105, 23)
HSLhsl(59, 64%, 25%)
HSVhsv(59, 78%, 42%)
CMYKcmyk(0%, 0.9%, 78.3%, 58.4%)
CIE-LABlab(43.11, -10.00, 43.04)
CIE-LCHlch(43.11, 44.19, 103.08°)
OKLaboklab(50.61% -0.0321 0.0945)
OKLCHoklch(50.61% 0.1 108.8)
XYZxyz(11.1505, 13.2295, 2.7766)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6917 #17186A
analogous
#6A3F17 #6A6917 #416A17
triadic
#6A6917 #176A69 #69176A
tetradic
#6A6917 #176A3F #17186A #6A1741
square
#6A6917 #176A3F #17186A #6A1741
split-complementary
#6A6917 #17416A #3F176A
monochromatic
#191905 #38370C #6A6917 #9C9B22 #CFCD2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A6917#FFFFFF#000000##FFFFFF
##6A69171.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)
#726405
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#726259
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a6917;
/* rgb */ color: rgb(106, 105, 23);
/* oklch */ color: oklch(50.6% 0.100 108.8);
Tailwind
colors: {
  custom: {
    50: '#98935b',
    500: '#6a6917',
    950: '#000000',
  },
}
SCSS
$custom: #6a6917;
$custom-light: #98935b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6917",
  "rgb": {
    "r": 106,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 59.277,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50611,
    "c": 0.09983,
    "h": 108.8
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#6A6917
secondary
#3D3EA0
accent
#42E740
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6917

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

Preview Lab → · Contrast checker → · Palette generator →

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