#6F7417#6F7417

#6F7417 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.7% C 0.111 H 112.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6F7417
RGBrgb(111, 116, 23)
HSLhsl(63, 67%, 27%)
HSVhsv(63, 80%, 45%)
CMYKcmyk(4.3%, 0%, 80.2%, 54.5%)
CIE-LABlab(46.89, -13.74, 46.68)
CIE-LCHlch(46.89, 48.66, 106.39°)
OKLaboklab(53.74% -0.0428 0.1021)
OKLCHoklch(53.74% 0.111 112.8)
XYZxyz(12.9560, 15.9325, 3.2032)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7417 #1C1774
analogous
#744B17 #6F7417 #407417
triadic
#6F7417 #176F74 #74176F
tetradic
#6F7417 #17744B #1C1774 #741740
square
#6F7417 #17744B #1C1774 #741740
split-complementary
#6F7417 #174074 #4B1774
monochromatic
#181A05 #3E410D #6F7417 #A0A721 #CDD630

Accessibility & contrast

On white

5.02
#6F7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6F7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7417
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7417#FFFFFF#000000##FFFFFF
##6F74171.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#776C63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f7417;
/* rgb */ color: rgb(111, 116, 23);
/* oklch */ color: oklch(53.7% 0.111 112.8);
Tailwind
colors: {
  custom: {
    50: '#9b9b5d',
    500: '#6f7417',
    950: '#000000',
  },
}
SCSS
$custom: #6f7417;
$custom-light: #9b9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7417",
  "rgb": {
    "r": 111,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 63.226,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53741,
    "c": 0.11067,
    "h": 112.8
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#6F7417
secondary
#433DA9
accent
#3EEA47
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7417

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

Preview Lab → · Contrast checker → · Palette generator →

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