#6D7620#6D7620

#6D7620 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.1% C 0.108 H 115.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6D7620
RGBrgb(109, 118, 32)
HSLhsl(66, 57%, 29%)
HSVhsv(66, 73%, 46%)
CMYKcmyk(7.6%, 0%, 72.9%, 53.7%)
CIE-LABlab(47.38, -15.28, 43.76)
CIE-LCHlch(47.38, 46.35, 109.24°)
OKLaboklab(54.12% -0.0461 0.0977)
OKLCHoklch(54.12% 0.108 115.3)
XYZxyz(13.0462, 16.3126, 3.8276)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7620 #292076
analogous
#765420 #6D7620 #427620
triadic
#6D7620 #206D76 #76206D
tetradic
#6D7620 #207654 #292076 #762042
square
#6D7620 #207654 #292076 #762042
split-complementary
#6D7620 #204276 #542076
monochromatic
#161807 #414613 #6D7620 #99A62D #BECC44

Accessibility & contrast

On white

4.93
#6D7620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6D7620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7620
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7620#FFFFFF#000000##FFFFFF
##6D76201.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7012
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#746F65
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6d7620;
/* rgb */ color: rgb(109, 118, 32);
/* oklch */ color: oklch(54.1% 0.108 115.3);
Tailwind
colors: {
  custom: {
    50: '#999d62',
    500: '#6d7620',
    950: '#000000',
  },
}
SCSS
$custom: #6d7620;
$custom-light: #999d62;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7620",
  "rgb": {
    "r": 109,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 66.279,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54115,
    "c": 0.108,
    "h": 115.3
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#6D7620
secondary
#5348A9
accent
#47E157
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6D7620

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

Preview Lab → · Contrast checker → · Palette generator →

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