#6F7216#6F7216

#6F7216 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.3% C 0.109 H 111.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6F7216
RGBrgb(111, 114, 22)
HSLhsl(62, 68%, 27%)
HSVhsv(62, 81%, 45%)
CMYKcmyk(2.6%, 0%, 80.7%, 55.3%)
CIE-LABlab(46.27, -12.69, 46.46)
CIE-LCHlch(46.27, 48.16, 105.27°)
OKLaboklab(53.25% -0.04 0.1014)
OKLCHoklch(53.25% 0.109 111.5)
XYZxyz(12.7181, 15.4724, 3.0754)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7216 #191672
analogous
#724716 #6F7216 #417216
triadic
#6F7216 #166F72 #72166F
tetradic
#6F7216 #167247 #191672 #721641
square
#6F7216 #167247 #191672 #721641
split-complementary
#6F7216 #164172 #471672
monochromatic
#191A05 #3D3F0C #6F7216 #A1A520 #D1D62C

Accessibility & contrast

On white

5.13
#6F7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6F7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7216
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7216#FFFFFF#000000##FFFFFF
##6F72161.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#776A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7216;
/* rgb */ color: rgb(111, 114, 22);
/* oklch */ color: oklch(53.3% 0.109 111.5);
Tailwind
colors: {
  custom: {
    50: '#9b9a5c',
    500: '#6f7216',
    950: '#000000',
  },
}
SCSS
$custom: #6f7216;
$custom-light: #9b9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7216",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 61.957,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.10899,
    "h": 111.5
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#6F7216
secondary
#3F3CA8
accent
#3DEB43
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7216

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

Preview Lab → · Contrast checker → · Palette generator →

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