#6E6517#6E6517

#6E6517 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.0% C 0.095 H 102.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6E6517
RGBrgb(110, 101, 23)
HSLhsl(54, 65%, 26%)
HSVhsv(54, 79%, 43%)
CMYKcmyk(0%, 8.2%, 79.1%, 56.9%)
CIE-LABlab(42.28, -5.81, 42.41)
CIE-LCHlch(42.28, 42.80, 97.80°)
OKLaboklab(50.05% -0.0206 0.093)
OKLCHoklch(50.05% 0.095 102.5)
XYZxyz(11.2393, 12.6847, 2.6668)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6517 #17206E
analogous
#6E3917 #6E6517 #4B6E17
triadic
#6E6517 #176E65 #65176E
tetradic
#6E6517 #176E39 #17206E #6E174B
square
#6E6517 #176E39 #17206E #6E174B
split-complementary
#6E6517 #174B6E #39176E
monochromatic
#191705 #3B370C #6E6517 #A19322 #D3C22C

Accessibility & contrast

On white

5.94
#6E6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6E6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6517
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6517#FFFFFF#000000##FFFFFF
##6E65171.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#775D56
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6e6517;
/* rgb */ color: rgb(110, 101, 23);
/* oklch */ color: oklch(50.0% 0.095 102.5);
Tailwind
colors: {
  custom: {
    50: '#9b905b',
    500: '#6e6517',
    950: '#000000',
  },
}
SCSS
$custom: #6e6517;
$custom-light: #9b905b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6517",
  "rgb": {
    "r": 110,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 53.793,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.09526,
    "h": 102.5
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#6E6517
secondary
#3D48A4
accent
#51E83F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E6517

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

Preview Lab → · Contrast checker → · Palette generator →

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