#6D6817#6D6817

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

Color values

HEX#6D6817
RGBrgb(109, 104, 23)
HSLhsl(57, 65%, 26%)
HSVhsv(57, 79%, 43%)
CMYKcmyk(0%, 4.6%, 78.9%, 57.3%)
CIE-LABlab(43.08, -8.01, 43.12)
CIE-LCHlch(43.08, 43.86, 100.52°)
OKLaboklab(50.66% -0.0267 0.0946)
OKLCHoklch(50.66% 0.098 105.8)
XYZxyz(11.4121, 13.2141, 2.7599)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6817 #171C6D
analogous
#6D3D17 #6D6817 #476D17
triadic
#6D6817 #176D68 #68176D
tetradic
#6D6817 #176D3D #171C6D #6D1747
square
#6D6817 #176D3D #171C6D #6D1747
split-complementary
#6D6817 #17476D #3D176D
monochromatic
#191805 #3A380C #6D6817 #A09822 #D2C82C

Accessibility & contrast

On white

5.76
#6D6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D6817
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6817#FFFFFF#000000##FFFFFF
##6D68171.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d6817;
/* rgb */ color: rgb(109, 104, 23);
/* oklch */ color: oklch(50.7% 0.098 105.8);
Tailwind
colors: {
  custom: {
    50: '#9a925b',
    500: '#6d6817',
    950: '#000000',
  },
}
SCSS
$custom: #6d6817;
$custom-light: #9a925b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6817",
  "rgb": {
    "r": 109,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 56.512,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.09826,
    "h": 105.8
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#6D6817
secondary
#3D43A3
accent
#49E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6D6817

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

Preview Lab → · Contrast checker → · Palette generator →

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