#6E7718#6E7718

#6E7718 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.4% C 0.114 H 115.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6E7718
RGBrgb(110, 119, 24)
HSLhsl(66, 66%, 28%)
HSVhsv(66, 80%, 47%)
CMYKcmyk(7.6%, 0%, 79.8%, 53.3%)
CIE-LABlab(47.72, -15.77, 47.08)
CIE-LCHlch(47.72, 49.65, 108.52°)
OKLaboklab(54.39% -0.0483 0.1031)
OKLCHoklch(54.39% 0.114 115.1)
XYZxyz(13.1925, 16.5748, 3.3683)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7718 #211877
analogous
#775018 #6E7718 #3E7718
triadic
#6E7718 #186E77 #77186E
tetradic
#6E7718 #187750 #211877 #77183E
square
#6E7718 #187750 #211877 #77183E
split-complementary
#6E7718 #183E77 #501877
monochromatic
#181905 #3F440E #6E7718 #9DAA22 #C7D633

Accessibility & contrast

On white

4.87
#6E7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6E7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7718
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7718#FFFFFF#000000##FFFFFF
##6E77181.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#767065
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6e7718;
/* rgb */ color: rgb(110, 119, 24);
/* oklch */ color: oklch(54.4% 0.114 115.1);
Tailwind
colors: {
  custom: {
    50: '#9b9e5e',
    500: '#6e7718',
    950: '#000000',
  },
}
SCSS
$custom: #6e7718;
$custom-light: #9b9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7718",
  "rgb": {
    "r": 110,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 65.684,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.11388,
    "h": 115.1
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#6E7718
secondary
#493FAC
accent
#3EE94F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7718

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

Preview Lab → · Contrast checker → · Palette generator →

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