#6F6417#6F6417

#6F6417 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.9% C 0.094 H 100.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6F6417
RGBrgb(111, 100, 23)
HSLhsl(53, 66%, 26%)
HSVhsv(53, 79%, 44%)
CMYKcmyk(0%, 9.9%, 79.3%, 56.5%)
CIE-LABlab(42.09, -4.75, 42.26)
CIE-LCHlch(42.09, 42.53, 96.41°)
OKLaboklab(49.91% -0.0177 0.0927)
OKLCHoklch(49.91% 0.094 100.8)
XYZxyz(11.2679, 12.5562, 2.6405)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6417 #17226F
analogous
#6F3817 #6F6417 #4E6F17
triadic
#6F6417 #176F64 #64176F
tetradic
#6F6417 #176F38 #17226F #6F174E
square
#6F6417 #176F38 #17226F #6F174E
split-complementary
#6F6417 #174E6F #38176F
monochromatic
#191705 #3C360C #6F6417 #A29222 #D3BF2D

Accessibility & contrast

On white

5.98
#6F6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6F6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6417
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6417#FFFFFF#000000##FFFFFF
##6F64171.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6107
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#785C55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f6417;
/* rgb */ color: rgb(111, 100, 23);
/* oklch */ color: oklch(49.9% 0.094 100.8);
Tailwind
colors: {
  custom: {
    50: '#9b8f5b',
    500: '#6f6417',
    950: '#000000',
  },
}
SCSS
$custom: #6f6417;
$custom-light: #9b8f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6417",
  "rgb": {
    "r": 111,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 52.5,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.09432,
    "h": 100.8
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#6F6417
secondary
#3D4AA5
accent
#54E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6417

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

Preview Lab → · Contrast checker → · Palette generator →

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