#6F6517#6F6517

#6F6517 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 50.1% C 0.095 H 101.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6F6517
RGBrgb(111, 101, 23)
HSLhsl(53, 66%, 26%)
HSVhsv(53, 79%, 44%)
CMYKcmyk(0%, 9%, 79.3%, 56.5%)
CIE-LABlab(42.38, -5.33, 42.54)
CIE-LCHlch(42.38, 42.87, 97.14°)
OKLaboklab(50.15% -0.0193 0.0932)
OKLCHoklch(50.15% 0.095 101.7)
XYZxyz(11.3644, 12.7492, 2.6727)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6517 #17216F
analogous
#6F3917 #6F6517 #4D6F17
triadic
#6F6517 #176F65 #65176F
tetradic
#6F6517 #176F39 #17216F #6F174D
square
#6F6517 #176F39 #17216F #6F174D
split-complementary
#6F6517 #174D6F #39176F
monochromatic
#191705 #3C370C #6F6517 #A29322 #D3C12D

Accessibility & contrast

On white

5.92
#6F6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6F6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6517
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6517#FFFFFF#000000##FFFFFF
##6F65171.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#785D56
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f6517;
/* rgb */ color: rgb(111, 101, 23);
/* oklch */ color: oklch(50.1% 0.095 101.7);
Tailwind
colors: {
  custom: {
    50: '#9b905b',
    500: '#6f6517',
    950: '#000000',
  },
}
SCSS
$custom: #6f6517;
$custom-light: #9b905b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6517",
  "rgb": {
    "r": 111,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 53.182,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50149,
    "c": 0.09521,
    "h": 101.7
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#6F6517
secondary
#3D49A5
accent
#52E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6517

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

Preview Lab → · Contrast checker → · Palette generator →

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