#6A6D17#6A6D17

#6A6D17 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.104 H 111.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6A6D17
RGBrgb(106, 109, 23)
HSLhsl(62, 65%, 26%)
HSVhsv(62, 79%, 43%)
CMYKcmyk(2.8%, 0%, 78.9%, 57.3%)
CIE-LABlab(44.32, -12.23, 44.17)
CIE-LCHlch(44.32, 45.84, 105.48°)
OKLaboklab(51.58% -0.0383 0.0969)
OKLCHoklch(51.58% 0.104 111.6)
XYZxyz(11.5675, 14.0636, 2.9156)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A6D17 #1A176D
analogous
#6D4517 #6A6D17 #3F6D17
triadic
#6A6D17 #176A6D #6D176A
tetradic
#6A6D17 #176D45 #1A176D #6D173F
square
#6A6D17 #176D45 #1A176D #6D173F
split-complementary
#6A6D17 #173F6D #45176D
monochromatic
#191905 #393A0C #6A6D17 #9BA022 #CCD22C

Accessibility & contrast

On white

5.51
#6A6D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6A6D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A6D17
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A6D17#FFFFFF#000000##FFFFFF
##6A6D171.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#72665D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a6d17;
/* rgb */ color: rgb(106, 109, 23);
/* oklch */ color: oklch(51.6% 0.104 111.6);
Tailwind
colors: {
  custom: {
    50: '#98965c',
    500: '#6a6d17',
    950: '#000000',
  },
}
SCSS
$custom: #6a6d17;
$custom-light: #98965c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a6d17",
  "rgb": {
    "r": 106,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 62.093,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.10424,
    "h": 111.6
  },
  "luminance": 0.14063
}

Semantic roles & 50–950 ramp

primary
#6A6D17
secondary
#403DA3
accent
#40E846
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A6D17

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

Preview Lab → · Contrast checker → · Palette generator →

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