#6E7717#6E7717

#6E7717 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.4% C 0.114 H 115.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6E7717
RGBrgb(110, 119, 23)
HSLhsl(66, 68%, 28%)
HSVhsv(66, 81%, 47%)
CMYKcmyk(7.6%, 0%, 80.7%, 53.3%)
CIE-LABlab(47.71, -15.82, 47.41)
CIE-LCHlch(47.71, 49.97, 108.45°)
OKLaboklab(54.38% -0.0485 0.1036)
OKLCHoklch(54.38% 0.114 115.1)
XYZxyz(13.1823, 16.5707, 3.3145)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7717 #201777
analogous
#775017 #6E7717 #3E7717
triadic
#6E7717 #176E77 #77176E
tetradic
#6E7717 #177750 #201777 #77173E
square
#6E7717 #177750 #201777 #77173E
split-complementary
#6E7717 #173E77 #501777
monochromatic
#181A05 #3F440D #6E7717 #9DAA21 #C8D731

Accessibility & contrast

On white

4.87
#6E7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6E7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7717
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7717#FFFFFF#000000##FFFFFF
##6E77171.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#767065
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6e7717;
/* rgb */ color: rgb(110, 119, 23);
/* oklch */ color: oklch(54.4% 0.114 115.1);
Tailwind
colors: {
  custom: {
    50: '#9b9e5d',
    500: '#6e7717',
    950: '#000000',
  },
}
SCSS
$custom: #6e7717;
$custom-light: #9b9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7717",
  "rgb": {
    "r": 110,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 65.625,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.11444,
    "h": 115.1
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#6E7717
secondary
#483EAC
accent
#3DEA4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7717

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

Preview Lab → · Contrast checker → · Palette generator →

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