#6F7718#6F7718

#6F7718 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.5% C 0.114 H 114.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6F7718
RGBrgb(111, 119, 24)
HSLhsl(65, 66%, 28%)
HSVhsv(65, 80%, 47%)
CMYKcmyk(6.7%, 0%, 79.8%, 53.3%)
CIE-LABlab(47.80, -15.31, 47.18)
CIE-LCHlch(47.80, 49.61, 107.98°)
OKLaboklab(54.48% -0.0471 0.1033)
OKLCHoklch(54.48% 0.114 114.5)
XYZxyz(13.3176, 16.6394, 3.3741)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7718 #201877
analogous
#775018 #6F7718 #3F7718
triadic
#6F7718 #186F77 #77186F
tetradic
#6F7718 #187750 #201877 #77183F
square
#6F7718 #187750 #201877 #77183F
split-complementary
#6F7718 #183F77 #501877
monochromatic
#181905 #3F440E #6F7718 #9FAA22 #C8D633

Accessibility & contrast

On white

4.85
#6F7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6F7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7718
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7718#FFFFFF#000000##FFFFFF
##6F77181.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#807221
Tritanopia (blue-blind)
#777065
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6f7718;
/* rgb */ color: rgb(111, 119, 24);
/* oklch */ color: oklch(54.5% 0.114 114.5);
Tailwind
colors: {
  custom: {
    50: '#9b9e5e',
    500: '#6f7718',
    950: '#000000',
  },
}
SCSS
$custom: #6f7718;
$custom-light: #9b9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7718",
  "rgb": {
    "r": 111,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 65.053,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.11355,
    "h": 114.5
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#6F7718
secondary
#483FAC
accent
#3EE94D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7718

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

Preview Lab → · Contrast checker → · Palette generator →

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