#6D7920#6D7920

#6D7920 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.9% C 0.112 H 116.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6D7920
RGBrgb(109, 121, 32)
HSLhsl(68, 58%, 30%)
HSVhsv(68, 74%, 47%)
CMYKcmyk(9.9%, 0%, 73.6%, 52.5%)
CIE-LABlab(48.30, -16.88, 44.67)
CIE-LCHlch(48.30, 47.75, 110.71°)
OKLaboklab(54.85% -0.0506 0.0996)
OKLCHoklch(54.85% 0.112 116.9)
XYZxyz(13.4051, 17.0304, 3.9472)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7920 #2C2079
analogous
#795920 #6D7920 #407920
triadic
#6D7920 #206D79 #79206D
tetradic
#6D7920 #207959 #2C2079 #792040
square
#6D7920 #207959 #2C2079 #792040
split-complementary
#6D7920 #204079 #592079
monochromatic
#161806 #414913 #6D7920 #99A92D #BCCE45

Accessibility & contrast

On white

4.77
#6D7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6D7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7920
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7920#FFFFFF#000000##FFFFFF
##6D79201.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827211
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#747268
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6d7920;
/* rgb */ color: rgb(109, 121, 32);
/* oklch */ color: oklch(54.9% 0.112 116.9);
Tailwind
colors: {
  custom: {
    50: '#9a9f62',
    500: '#6d7920',
    950: '#000000',
  },
}
SCSS
$custom: #6d7920;
$custom-light: #9a9f62;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7920",
  "rgb": {
    "r": 109,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 68.09,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.54851,
    "c": 0.11167,
    "h": 116.9
  },
  "luminance": 0.1703
}

Semantic roles & 50–950 ramp

primary
#6D7920
secondary
#5649AC
accent
#46E15B
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6D7920

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

Preview Lab → · Contrast checker → · Palette generator →

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