#6F7916#6F7916

#6F7916 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.117 H 115.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6F7916
RGBrgb(111, 121, 22)
HSLhsl(66, 69%, 28%)
HSVhsv(66, 82%, 47%)
CMYKcmyk(8.3%, 0%, 81.8%, 52.5%)
CIE-LABlab(48.40, -16.47, 48.37)
CIE-LCHlch(48.40, 51.10, 108.80°)
OKLaboklab(54.96% -0.0504 0.1055)
OKLCHoklch(54.96% 0.117 115.6)
XYZxyz(13.5381, 17.1124, 3.3488)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7916 #201679
analogous
#795216 #6F7916 #3D7916
triadic
#6F7916 #166F79 #79166F
tetradic
#6F7916 #167952 #201679 #79163D
square
#6F7916 #167952 #201679 #79163D
split-complementary
#6F7916 #163D79 #521679
monochromatic
#181A05 #3F450D #6F7916 #9FAD1F #C8D930

Accessibility & contrast

On white

4.75
#6F7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6F7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7916
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7916#FFFFFF#000000##FFFFFF
##6F79161.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#777167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f7916;
/* rgb */ color: rgb(111, 121, 22);
/* oklch */ color: oklch(55.0% 0.117 115.6);
Tailwind
colors: {
  custom: {
    50: '#9b9f5d',
    500: '#6f7916',
    950: '#000000',
  },
}
SCSS
$custom: #6f7916;
$custom-light: #9b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7916",
  "rgb": {
    "r": 111,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 66.061,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54955,
    "c": 0.11692,
    "h": 115.6
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#6F7916
secondary
#483DAE
accent
#3CEC4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7916

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

Preview Lab → · Contrast checker → · Palette generator →

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