#6F6617#6F6617

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

Color values

HEX#6F6617
RGBrgb(111, 102, 23)
HSLhsl(54, 66%, 26%)
HSVhsv(54, 79%, 44%)
CMYKcmyk(0%, 8.1%, 79.3%, 56.5%)
CIE-LABlab(42.68, -5.90, 42.81)
CIE-LCHlch(42.68, 43.22, 97.85°)
OKLaboklab(50.39% -0.0209 0.0938)
OKLCHoklch(50.39% 0.096 102.6)
XYZxyz(11.4621, 12.9446, 2.7052)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6617 #17206F
analogous
#6F3A17 #6F6617 #4C6F17
triadic
#6F6617 #176F66 #66176F
tetradic
#6F6617 #176F3A #17206F #6F174C
square
#6F6617 #176F3A #17206F #6F174C
split-complementary
#6F6617 #174C6F #3A176F
monochromatic
#191705 #3C370C #6F6617 #A29522 #D3C22D

Accessibility & contrast

On white

5.85
#6F6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6F6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6617
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6617#FFFFFF#000000##FFFFFF
##6F66171.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706307
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#785E57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f6617;
/* rgb */ color: rgb(111, 102, 23);
/* oklch */ color: oklch(50.4% 0.096 102.6);
Tailwind
colors: {
  custom: {
    50: '#9b915b',
    500: '#6f6617',
    950: '#000000',
  },
}
SCSS
$custom: #6f6617;
$custom-light: #9b915b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6617",
  "rgb": {
    "r": 111,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 53.864,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.09612,
    "h": 102.6
  },
  "luminance": 0.12944
}

Semantic roles & 50–950 ramp

primary
#6F6617
secondary
#3D48A5
accent
#51E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6617

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

Preview Lab → · Contrast checker → · Palette generator →

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