#6E6817#6E6817

#6E6817 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.8% C 0.098 H 105.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6E6817
RGBrgb(110, 104, 23)
HSLhsl(56, 65%, 26%)
HSVhsv(56, 79%, 43%)
CMYKcmyk(0%, 5.5%, 79.1%, 56.9%)
CIE-LABlab(43.18, -7.53, 43.24)
CIE-LCHlch(43.18, 43.89, 99.87°)
OKLaboklab(50.76% -0.0254 0.0948)
OKLCHoklch(50.76% 0.098 105)
XYZxyz(11.5359, 13.2779, 2.7657)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6817 #171D6E
analogous
#6E3C17 #6E6817 #486E17
triadic
#6E6817 #176E68 #68176E
tetradic
#6E6817 #176E3C #171D6E #6E1748
square
#6E6817 #176E3C #171D6E #6E1748
split-complementary
#6E6817 #17486E #3C176E
monochromatic
#191805 #3B380C #6E6817 #A19822 #D3C72C

Accessibility & contrast

On white

5.74
#6E6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6E6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6817
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6817#FFFFFF#000000##FFFFFF
##6E68171.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#776059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6e6817;
/* rgb */ color: rgb(110, 104, 23);
/* oklch */ color: oklch(50.8% 0.098 105.0);
Tailwind
colors: {
  custom: {
    50: '#9b925b',
    500: '#6e6817',
    950: '#000000',
  },
}
SCSS
$custom: #6e6817;
$custom-light: #9b925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6817",
  "rgb": {
    "r": 110,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 55.862,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.09813,
    "h": 105
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#6E6817
secondary
#3D44A4
accent
#4BE83F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6E6817

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

Preview Lab → · Contrast checker → · Palette generator →

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