#6E6818#6E6818

#6E6818 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#6E6818
RGBrgb(110, 104, 24)
HSLhsl(56, 64%, 26%)
HSVhsv(56, 78%, 43%)
CMYKcmyk(0%, 5.5%, 78.2%, 56.9%)
CIE-LABlab(43.19, -7.48, 42.87)
CIE-LCHlch(43.19, 43.52, 99.90°)
OKLaboklab(50.77% -0.0252 0.0942)
OKLCHoklch(50.77% 0.098 105)
XYZxyz(11.5461, 13.2820, 2.8195)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6818 #181E6E
analogous
#6E3D18 #6E6818 #496E18
triadic
#6E6818 #186E68 #68186E
tetradic
#6E6818 #186E3D #181E6E #6E1849
square
#6E6818 #186E3D #181E6E #6E1849
split-complementary
#6E6818 #18496E #3D186E
monochromatic
#191805 #3C390D #6E6818 #A09823 #D2C62F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E6818#FFFFFF#000000##FFFFFF
##6E68181.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)
#726408
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#776059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6e6818;
/* rgb */ color: rgb(110, 104, 24);
/* oklch */ color: oklch(50.8% 0.098 105.0);
Tailwind
colors: {
  custom: {
    50: '#9b925c',
    500: '#6e6818',
    950: '#000000',
  },
}
SCSS
$custom: #6e6818;
$custom-light: #9b925c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6818",
  "rgb": {
    "r": 110,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 55.814,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.09752,
    "h": 105
  },
  "luminance": 0.13282
}

Semantic roles & 50–950 ramp

primary
#6E6818
secondary
#3E45A4
accent
#4CE741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6E6818

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

Preview Lab → · Contrast checker → · Palette generator →

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