#6E6017#6E6017

#6E6017 is a mid, moderate yellow. Relative luminance 0.117; OKLCH L 48.9% C 0.091 H 97.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6E6017
RGBrgb(110, 96, 23)
HSLhsl(50, 65%, 26%)
HSVhsv(50, 79%, 43%)
CMYKcmyk(0%, 12.7%, 79.1%, 56.9%)
CIE-LABlab(40.80, -2.91, 41.02)
CIE-LCHlch(40.80, 41.12, 94.06°)
OKLaboklab(48.87% -0.0124 0.0901)
OKLCHoklch(48.87% 0.091 97.8)
XYZxyz(10.7685, 11.7432, 2.5099)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6017 #17256E
analogous
#6E3417 #6E6017 #506E17
triadic
#6E6017 #176E60 #60176E
tetradic
#6E6017 #176E34 #17256E #6E1750
square
#6E6017 #176E34 #17256E #6E1750
split-complementary
#6E6017 #17506E #34176E
monochromatic
#191605 #3B340C #6E6017 #A18C22 #D3B82C

Accessibility & contrast

On white

6.27
#6E6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6E6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6017
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6017#FFFFFF#000000##FFFFFF
##6E60171.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D09
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#775852
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e6017;
/* rgb */ color: rgb(110, 96, 23);
/* oklch */ color: oklch(48.9% 0.091 97.8);
Tailwind
colors: {
  custom: {
    50: '#9b8c5a',
    500: '#6e6017',
    950: '#000000',
  },
}
SCSS
$custom: #6e6017;
$custom-light: #9b8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6017",
  "rgb": {
    "r": 110,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 50.345,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.0909,
    "h": 97.8
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#6E6017
secondary
#3D4DA4
accent
#5BE83F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E6017

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

Preview Lab → · Contrast checker → · Palette generator →

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