#6F6317#6F6317

#6F6317 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.7% C 0.093 H 99.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6F6317
RGBrgb(111, 99, 23)
HSLhsl(52, 66%, 26%)
HSVhsv(52, 79%, 44%)
CMYKcmyk(0%, 10.8%, 79.3%, 56.5%)
CIE-LABlab(41.79, -4.17, 41.98)
CIE-LCHlch(41.79, 42.19, 95.67°)
OKLaboklab(49.68% -0.016 0.0921)
OKLCHoklch(49.68% 0.093 99.9)
XYZxyz(11.1726, 12.3656, 2.6087)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6317 #17236F
analogous
#6F3717 #6F6317 #4F6F17
triadic
#6F6317 #176F63 #63176F
tetradic
#6F6317 #176F37 #17236F #6F174F
square
#6F6317 #176F37 #17236F #6F174F
split-complementary
#6F6317 #174F6F #37176F
monochromatic
#191705 #3C360C #6F6317 #A29022 #D3BD2D

Accessibility & contrast

On white

6.05
#6F6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6F6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6317
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6317#FFFFFF#000000##FFFFFF
##6F63171.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f6317;
/* rgb */ color: rgb(111, 99, 23);
/* oklch */ color: oklch(49.7% 0.093 99.9);
Tailwind
colors: {
  custom: {
    50: '#9c8f5b',
    500: '#6f6317',
    950: '#000000',
  },
}
SCSS
$custom: #6f6317;
$custom-light: #9c8f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6317",
  "rgb": {
    "r": 111,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 51.818,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49679,
    "c": 0.09345,
    "h": 99.9
  },
  "luminance": 0.12365
}

Semantic roles & 50–950 ramp

primary
#6F6317
secondary
#3D4BA5
accent
#56E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6317

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

Preview Lab → · Contrast checker → · Palette generator →

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