#6D6816#6D6816

#6D6816 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.7% C 0.099 H 105.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6D6816
RGBrgb(109, 104, 22)
HSLhsl(57, 66%, 26%)
HSVhsv(57, 80%, 43%)
CMYKcmyk(0%, 4.6%, 79.8%, 57.3%)
CIE-LABlab(43.08, -8.05, 43.48)
CIE-LCHlch(43.08, 44.22, 100.49°)
OKLaboklab(50.65% -0.0269 0.0951)
OKLCHoklch(50.65% 0.099 105.8)
XYZxyz(11.4023, 13.2102, 2.7081)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6816 #161B6D
analogous
#6D3C16 #6D6816 #466D16
triadic
#6D6816 #166D68 #68166D
tetradic
#6D6816 #166D3C #161B6D #6D1646
square
#6D6816 #166D3C #161B6D #6D1646
split-complementary
#6D6816 #16466D #3C166D
monochromatic
#191805 #3A370C #6D6816 #A09920 #D3C92B

Accessibility & contrast

On white

5.77
#6D6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6D6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6816
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6816#FFFFFF#000000##FFFFFF
##6D68161.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d6816;
/* rgb */ color: rgb(109, 104, 22);
/* oklch */ color: oklch(50.7% 0.099 105.8);
Tailwind
colors: {
  custom: {
    50: '#9a925b',
    500: '#6d6816',
    950: '#000000',
  },
}
SCSS
$custom: #6d6816;
$custom-light: #9a925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6816",
  "rgb": {
    "r": 109,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 56.552,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.09886,
    "h": 105.8
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#6D6816
secondary
#3C42A3
accent
#48E93E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6D6816

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

Preview Lab → · Contrast checker → · Palette generator →

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