#6F7717#6F7717

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

Color values

HEX#6F7717
RGBrgb(111, 119, 23)
HSLhsl(65, 68%, 28%)
HSVhsv(65, 81%, 47%)
CMYKcmyk(6.7%, 0%, 80.7%, 53.3%)
CIE-LABlab(47.80, -15.36, 47.51)
CIE-LCHlch(47.80, 49.93, 107.91°)
OKLaboklab(54.47% -0.0473 0.1038)
OKLCHoklch(54.47% 0.114 114.5)
XYZxyz(13.3074, 16.6353, 3.3204)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7717 #1F1777
analogous
#774F17 #6F7717 #3F7717
triadic
#6F7717 #176F77 #77176F
tetradic
#6F7717 #17774F #1F1777 #77173F
square
#6F7717 #17774F #1F1777 #77173F
split-complementary
#6F7717 #173F77 #4F1777
monochromatic
#181A05 #3F440D #6F7717 #9FAA21 #C9D731

Accessibility & contrast

On white

4.85
#6F7717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6F7717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7717
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7717#FFFFFF#000000##FFFFFF
##6F77171.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#807220
Tritanopia (blue-blind)
#777065
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6f7717;
/* rgb */ color: rgb(111, 119, 23);
/* oklch */ color: oklch(54.5% 0.114 114.5);
Tailwind
colors: {
  custom: {
    50: '#9b9e5d',
    500: '#6f7717',
    950: '#000000',
  },
}
SCSS
$custom: #6f7717;
$custom-light: #9b9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7717",
  "rgb": {
    "r": 111,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 65,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.11409,
    "h": 114.5
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#6F7717
secondary
#473EAC
accent
#3DEA4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7717

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

Preview Lab → · Contrast checker → · Palette generator →

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