#6D7718#6D7718

#6D7718 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.3% C 0.114 H 115.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6D7718
RGBrgb(109, 119, 24)
HSLhsl(66, 66%, 28%)
HSVhsv(66, 80%, 47%)
CMYKcmyk(8.4%, 0%, 79.8%, 53.3%)
CIE-LABlab(47.64, -16.23, 46.97)
CIE-LCHlch(47.64, 49.70, 109.06°)
OKLaboklab(54.31% -0.0495 0.103)
OKLCHoklch(54.31% 0.114 115.7)
XYZxyz(13.0687, 16.5110, 3.3625)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7718 #221877
analogous
#775118 #6D7718 #3D7718
triadic
#6D7718 #186D77 #77186D
tetradic
#6D7718 #187751 #221877 #77183D
square
#6D7718 #187751 #221877 #77183D
split-complementary
#6D7718 #183D77 #511877
monochromatic
#171905 #3E440E #6D7718 #9CAA22 #C5D633

Accessibility & contrast

On white

4.88
#6D7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6D7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7718
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7718#FFFFFF#000000##FFFFFF
##6D77181.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7718;
/* rgb */ color: rgb(109, 119, 24);
/* oklch */ color: oklch(54.3% 0.114 115.7);
Tailwind
colors: {
  custom: {
    50: '#9a9e5e',
    500: '#6d7718',
    950: '#000000',
  },
}
SCSS
$custom: #6d7718;
$custom-light: #9a9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7718",
  "rgb": {
    "r": 109,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 66.316,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.11424,
    "h": 115.7
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#6D7718
secondary
#4A3FAC
accent
#3EE950
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7718

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

Preview Lab → · Contrast checker → · Palette generator →

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