#6E6717#6E6717

#6E6717 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.5% C 0.097 H 104.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6E6717
RGBrgb(110, 103, 23)
HSLhsl(55, 65%, 26%)
HSVhsv(55, 79%, 43%)
CMYKcmyk(0%, 6.4%, 79.1%, 56.9%)
CIE-LABlab(42.88, -6.96, 42.96)
CIE-LCHlch(42.88, 43.52, 99.20°)
OKLaboklab(50.52% -0.0238 0.0942)
OKLCHoklch(50.52% 0.097 104.2)
XYZxyz(11.4358, 13.0778, 2.7323)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6717 #171E6E
analogous
#6E3B17 #6E6717 #496E17
triadic
#6E6717 #176E67 #67176E
tetradic
#6E6717 #176E3B #171E6E #6E1749
square
#6E6717 #176E3B #171E6E #6E1749
split-complementary
#6E6717 #17496E #3B176E
monochromatic
#191805 #3B380C #6E6717 #A19622 #D3C62C

Accessibility & contrast

On white

5.81
#6E6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6E6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6717
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6717#FFFFFF#000000##FFFFFF
##6E67171.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716306
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#775F58
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e6717;
/* rgb */ color: rgb(110, 103, 23);
/* oklch */ color: oklch(50.5% 0.097 104.2);
Tailwind
colors: {
  custom: {
    50: '#9b925b',
    500: '#6e6717',
    950: '#000000',
  },
}
SCSS
$custom: #6e6717;
$custom-light: #9b925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6717",
  "rgb": {
    "r": 110,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 55.172,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.09716,
    "h": 104.2
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#6E6717
secondary
#3D45A4
accent
#4DE83F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E6717

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

Preview Lab → · Contrast checker → · Palette generator →

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