#6E6617#6E6617

#6E6617 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.3% C 0.096 H 103.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6E6617
RGBrgb(110, 102, 23)
HSLhsl(54, 65%, 26%)
HSVhsv(54, 79%, 43%)
CMYKcmyk(0%, 7.3%, 79.1%, 56.9%)
CIE-LABlab(42.58, -6.38, 42.69)
CIE-LCHlch(42.58, 43.16, 98.51°)
OKLaboklab(50.28% -0.0222 0.0936)
OKLCHoklch(50.28% 0.096 103.4)
XYZxyz(11.3369, 12.8801, 2.6994)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6617 #171F6E
analogous
#6E3A17 #6E6617 #4A6E17
triadic
#6E6617 #176E66 #66176E
tetradic
#6E6617 #176E3A #171F6E #6E174A
square
#6E6617 #176E3A #171F6E #6E174A
split-complementary
#6E6617 #174A6E #3A176E
monochromatic
#191705 #3B370C #6E6617 #A19522 #D3C42C

Accessibility & contrast

On white

5.87
#6E6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6E6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6617
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6617#FFFFFF#000000##FFFFFF
##6E66171.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706207
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#775E57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e6617;
/* rgb */ color: rgb(110, 102, 23);
/* oklch */ color: oklch(50.3% 0.096 103.4);
Tailwind
colors: {
  custom: {
    50: '#9b915b',
    500: '#6e6617',
    950: '#000000',
  },
}
SCSS
$custom: #6e6617;
$custom-light: #9b915b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6617",
  "rgb": {
    "r": 110,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 54.483,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50284,
    "c": 0.0962,
    "h": 103.4
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#6E6617
secondary
#3D46A4
accent
#4FE83F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E6617

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

Preview Lab → · Contrast checker → · Palette generator →

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