#6D6815#6D6815

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

Color values

HEX#6D6815
RGBrgb(109, 104, 21)
HSLhsl(57, 68%, 25%)
HSVhsv(57, 81%, 43%)
CMYKcmyk(0%, 4.6%, 80.7%, 57.3%)
CIE-LABlab(43.07, -8.09, 43.83)
CIE-LCHlch(43.07, 44.57, 100.46°)
OKLaboklab(50.65% -0.0272 0.0957)
OKLCHoklch(50.65% 0.099 105.9)
XYZxyz(11.3928, 13.2064, 2.6583)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6815 #151A6D
analogous
#6D3C15 #6D6815 #466D15
triadic
#6D6815 #156D68 #68156D
tetradic
#6D6815 #156D3C #151A6D #6D1546
square
#6D6815 #156D3C #151A6D #6D1546
split-complementary
#6D6815 #15466D #3C156D
monochromatic
#1A1805 #3A370B #6D6815 #A0991F #D4CA29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D6815#FFFFFF#000000##FFFFFF
##6D68151.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)
#726402
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#766058
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d6815;
/* rgb */ color: rgb(109, 104, 21);
/* oklch */ color: oklch(50.6% 0.099 105.9);
Tailwind
colors: {
  custom: {
    50: '#9a925a',
    500: '#6d6815',
    950: '#000000',
  },
}
SCSS
$custom: #6d6815;
$custom-light: #9a925a;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6815",
  "rgb": {
    "r": 109,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 56.591,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.09944,
    "h": 105.9
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#6D6815
secondary
#3A40A3
accent
#47EB3D
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6D6815

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

Preview Lab → · Contrast checker → · Palette generator →

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