#6E6618#6E6618

#6E6618 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.3% C 0.096 H 103.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6E6618
RGBrgb(110, 102, 24)
HSLhsl(54, 64%, 26%)
HSVhsv(54, 78%, 43%)
CMYKcmyk(0%, 7.3%, 78.2%, 56.9%)
CIE-LABlab(42.59, -6.34, 42.31)
CIE-LCHlch(42.59, 42.78, 98.52°)
OKLaboklab(50.29% -0.022 0.093)
OKLCHoklch(50.29% 0.096 103.3)
XYZxyz(11.3472, 12.8842, 2.7532)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6618 #18206E
analogous
#6E3B18 #6E6618 #4B6E18
triadic
#6E6618 #186E66 #66186E
tetradic
#6E6618 #186E3B #18206E #6E184B
square
#6E6618 #186E3B #18206E #6E184B
split-complementary
#6E6618 #184B6E #3B186E
monochromatic
#191705 #3C370D #6E6618 #A09523 #D2C22F

Accessibility & contrast

On white

5.87
#6E6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6E6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6618
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6618#FFFFFF#000000##FFFFFF
##6E66181.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706209
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#775E57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e6618;
/* rgb */ color: rgb(110, 102, 24);
/* oklch */ color: oklch(50.3% 0.096 103.3);
Tailwind
colors: {
  custom: {
    50: '#9b915c',
    500: '#6e6618',
    950: '#000000',
  },
}
SCSS
$custom: #6e6618;
$custom-light: #9b915c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6618",
  "rgb": {
    "r": 110,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 54.419,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.09557,
    "h": 103.3
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#6E6618
secondary
#3E48A4
accent
#50E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E6618

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

Preview Lab → · Contrast checker → · Palette generator →

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