#6F7816#6F7816

#6F7816 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.116 H 115.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6F7816
RGBrgb(111, 120, 22)
HSLhsl(66, 69%, 28%)
HSVhsv(66, 82%, 47%)
CMYKcmyk(7.5%, 0%, 81.7%, 52.9%)
CIE-LABlab(48.10, -15.94, 48.10)
CIE-LCHlch(48.10, 50.67, 108.33°)
OKLaboklab(54.71% -0.049 0.1049)
OKLCHoklch(54.71% 0.116 115)
XYZxyz(13.4172, 16.8706, 3.3085)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7816 #1F1678
analogous
#785016 #6F7816 #3E7816
triadic
#6F7816 #166F78 #78166F
tetradic
#6F7816 #167850 #1F1678 #78163E
square
#6F7816 #167850 #1F1678 #78163E
split-complementary
#6F7816 #163E78 #501678
monochromatic
#181A05 #3F440D #6F7816 #9FAC1F #C9D92F

Accessibility & contrast

On white

4.80
#6F7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6F7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7816
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7816#FFFFFF#000000##FFFFFF
##6F78161.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#777066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f7816;
/* rgb */ color: rgb(111, 120, 22);
/* oklch */ color: oklch(54.7% 0.116 115.0);
Tailwind
colors: {
  custom: {
    50: '#9b9e5d',
    500: '#6f7816',
    950: '#000000',
  },
}
SCSS
$custom: #6f7816;
$custom-light: #9b9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7816",
  "rgb": {
    "r": 111,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 65.51,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54711,
    "c": 0.11576,
    "h": 115
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#6F7816
secondary
#473CAD
accent
#3CEC4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7816

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

Preview Lab → · Contrast checker → · Palette generator →

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