#6F6017#6F6017

#6F6017 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 49.0% C 0.091 H 97.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6F6017
RGBrgb(111, 96, 23)
HSLhsl(50, 66%, 26%)
HSVhsv(50, 79%, 44%)
CMYKcmyk(0%, 13.5%, 79.3%, 56.5%)
CIE-LABlab(40.91, -2.42, 41.15)
CIE-LCHlch(40.91, 41.23, 93.37°)
OKLaboklab(48.98% -0.0111 0.0903)
OKLCHoklch(48.98% 0.091 97)
XYZxyz(10.8936, 11.8077, 2.5158)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6017 #17266F
analogous
#6F3417 #6F6017 #526F17
triadic
#6F6017 #176F60 #60176F
tetradic
#6F6017 #176F34 #17266F #6F1752
square
#6F6017 #176F34 #17266F #6F1752
split-complementary
#6F6017 #17526F #34176F
monochromatic
#191605 #3C340C #6F6017 #A28C22 #D3B72D

Accessibility & contrast

On white

6.25
#6F6017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6F6017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6017
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6017#FFFFFF#000000##FFFFFF
##6F60171.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E09
Deuteranopia (green-blind)
#6E631C
Tritanopia (blue-blind)
#785852
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f6017;
/* rgb */ color: rgb(111, 96, 23);
/* oklch */ color: oklch(49.0% 0.091 97.0);
Tailwind
colors: {
  custom: {
    50: '#9c8c5a',
    500: '#6f6017',
    950: '#000000',
  },
}
SCSS
$custom: #6f6017;
$custom-light: #9c8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6017",
  "rgb": {
    "r": 111,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 49.773,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.09097,
    "h": 97
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#6F6017
secondary
#3D4FA5
accent
#5CE93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6017

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

Preview Lab → · Contrast checker → · Palette generator →

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