#6D7816#6D7816

#6D7816 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.5% C 0.116 H 116.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6D7816
RGBrgb(109, 120, 22)
HSLhsl(67, 69%, 28%)
HSVhsv(67, 82%, 47%)
CMYKcmyk(9.2%, 0%, 81.7%, 52.9%)
CIE-LABlab(47.93, -16.85, 47.89)
CIE-LCHlch(47.93, 50.77, 109.39°)
OKLaboklab(54.54% -0.0514 0.1045)
OKLCHoklch(54.54% 0.116 116.2)
XYZxyz(13.1683, 16.7423, 3.2968)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7816 #211678
analogous
#785216 #6D7816 #3C7816
triadic
#6D7816 #166D78 #78166D
tetradic
#6D7816 #167852 #211678 #78163C
square
#6D7816 #167852 #211678 #78163C
split-complementary
#6D7816 #163C78 #521678
monochromatic
#171A05 #3E440D #6D7816 #9CAC1F #C6D92F

Accessibility & contrast

On white

4.83
#6D7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6D7816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7816
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7816#FFFFFF#000000##FFFFFF
##6D78161.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#747166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d7816;
/* rgb */ color: rgb(109, 120, 22);
/* oklch */ color: oklch(54.5% 0.116 116.2);
Tailwind
colors: {
  custom: {
    50: '#9a9e5d',
    500: '#6d7816',
    950: '#000000',
  },
}
SCSS
$custom: #6d7816;
$custom-light: #9a9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7816",
  "rgb": {
    "r": 109,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 66.735,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.11648,
    "h": 116.2
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#6D7816
secondary
#493CAD
accent
#3CEC50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7816

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

Preview Lab → · Contrast checker → · Palette generator →

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