#6B7920#6B7920

#6B7920 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.112 H 118.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6B7920
RGBrgb(107, 121, 32)
HSLhsl(69, 58%, 30%)
HSVhsv(69, 74%, 47%)
CMYKcmyk(11.6%, 0%, 73.6%, 52.5%)
CIE-LABlab(48.14, -17.79, 44.46)
CIE-LCHlch(48.14, 47.88, 111.80°)
OKLaboklab(54.68% -0.0529 0.0992)
OKLCHoklch(54.68% 0.112 118.1)
XYZxyz(13.1618, 16.9050, 3.9358)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7920 #2E2079
analogous
#795A20 #6B7920 #3F7920
triadic
#6B7920 #206B79 #79206B
tetradic
#6B7920 #20795A #2E2079 #79203F
square
#6B7920 #20795A #2E2079 #79203F
split-complementary
#6B7920 #203F79 #5A2079
monochromatic
#151806 #404913 #6B7920 #96A92D #B8CE45

Accessibility & contrast

On white

4.79
#6B7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#6B7920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7920
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7920#FFFFFF#000000##FFFFFF
##6B79201.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817211
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#727268
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6b7920;
/* rgb */ color: rgb(107, 121, 32);
/* oklch */ color: oklch(54.7% 0.112 118.1);
Tailwind
colors: {
  custom: {
    50: '#989f62',
    500: '#6b7920',
    950: '#000000',
  },
}
SCSS
$custom: #6b7920;
$custom-light: #989f62;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7920",
  "rgb": {
    "r": 107,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 69.438,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.11243,
    "h": 118.1
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#6B7920
secondary
#5849AC
accent
#46E15F
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0E0E05
muted
#7E7E7A

Preview Lab

Preview with #6B7920

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

Preview Lab → · Contrast checker → · Palette generator →

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