#787920#787920

#787920 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.108 H 110.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#787920
RGBrgb(120, 121, 32)
HSLhsl(61, 58%, 30%)
HSVhsv(61, 74%, 47%)
CMYKcmyk(0.8%, 0%, 73.6%, 52.5%)
CIE-LABlab(49.22, -11.85, 45.88)
CIE-LCHlch(49.22, 47.39, 104.49°)
OKLaboklab(55.82% -0.0372 0.1017)
OKLCHoklch(55.82% 0.108 110.1)
XYZxyz(14.8443, 17.7725, 4.0147)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787920 #212079
analogous
#794D20 #787920 #4C7920
triadic
#787920 #207879 #792078
tetradic
#787920 #20794D #212079 #79204C
square
#787920 #20794D #212079 #79204C
split-complementary
#787920 #204C79 #4D2079
monochromatic
#181806 #484913 #787920 #A8A92D #CCCE45

Accessibility & contrast

On white

4.61
#787920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#787920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787920
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787920#FFFFFF#000000##FFFFFF
##7879201.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837410
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#817168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787920;
/* rgb */ color: rgb(120, 121, 32);
/* oklch */ color: oklch(55.8% 0.108 110.1);
Tailwind
colors: {
  custom: {
    50: '#a29f62',
    500: '#787920',
    950: '#000000',
  },
}
SCSS
$custom: #787920;
$custom-light: #a29f62;
$custom-dark: #000000;
JSON
{
  "hex": "#787920",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 60.674,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.10834,
    "h": 110.1
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#787920
secondary
#4A49AC
accent
#46E148
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787920

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

Preview Lab → · Contrast checker → · Palette generator →

#787920 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva