#6F6816#6F6816

#6F6816 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.9% C 0.099 H 104.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6F6816
RGBrgb(111, 104, 22)
HSLhsl(55, 67%, 26%)
HSVhsv(55, 80%, 44%)
CMYKcmyk(0%, 6.3%, 80.2%, 56.5%)
CIE-LABlab(43.27, -7.09, 43.72)
CIE-LCHlch(43.27, 44.30, 99.21°)
OKLaboklab(50.85% -0.0244 0.0956)
OKLCHoklch(50.85% 0.099 104.3)
XYZxyz(11.6512, 13.3385, 2.7198)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6816 #161D6F
analogous
#6F3B16 #6F6816 #496F16
triadic
#6F6816 #166F68 #68166F
tetradic
#6F6816 #166F3B #161D6F #6F1649
square
#6F6816 #166F3B #161D6F #6F1649
split-complementary
#6F6816 #16496F #3B166F
monochromatic
#1A1805 #3C380C #6F6816 #A29820 #D5C72B

Accessibility & contrast

On white

5.73
#6F6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6F6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6816
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6816#FFFFFF#000000##FFFFFF
##6F68161.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#74681C
Tritanopia (blue-blind)
#786059
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f6816;
/* rgb */ color: rgb(111, 104, 22);
/* oklch */ color: oklch(50.9% 0.099 104.3);
Tailwind
colors: {
  custom: {
    50: '#9b925b',
    500: '#6f6816',
    950: '#000000',
  },
}
SCSS
$custom: #6f6816;
$custom-light: #9b925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6816",
  "rgb": {
    "r": 111,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 55.281,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.09861,
    "h": 104.3
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#6F6816
secondary
#3C44A5
accent
#4BEA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0D04
muted
#7E7D79

Preview Lab

Preview with #6F6816

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

Preview Lab → · Contrast checker → · Palette generator →

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