#787320#787320

#787320 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.4% C 0.102 H 105.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#787320
RGBrgb(120, 115, 32)
HSLhsl(57, 58%, 30%)
HSVhsv(57, 73%, 47%)
CMYKcmyk(0%, 4.2%, 73.3%, 52.9%)
CIE-LABlab(47.44, -8.54, 44.14)
CIE-LCHlch(47.44, 44.96, 100.95°)
OKLaboklab(54.4% -0.0279 0.0981)
OKLCHoklch(54.4% 0.102 105.9)
XYZxyz(14.1377, 16.3593, 3.7792)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787320 #202578
analogous
#784720 #787320 #517820
triadic
#787320 #207873 #732078
tetradic
#787320 #207847 #202578 #782051
square
#787320 #207847 #202578 #782051
split-complementary
#787320 #205178 #472078
monochromatic
#181706 #484513 #787320 #A8A12D #CDC645

Accessibility & contrast

On white

4.92
#787320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#787320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787320
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787320#FFFFFF#000000##FFFFFF
##7873201.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F12
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#816B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787320;
/* rgb */ color: rgb(120, 115, 32);
/* oklch */ color: oklch(54.4% 0.102 105.9);
Tailwind
colors: {
  custom: {
    50: '#a29b61',
    500: '#787320',
    950: '#000000',
  },
}
SCSS
$custom: #787320;
$custom-light: #a29b61;
$custom-dark: #000000;
JSON
{
  "hex": "#787320",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 56.591,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.10198,
    "h": 105.9
  },
  "luminance": 0.16359
}

Semantic roles & 50–950 ramp

primary
#787320
secondary
#484EAB
accent
#4FE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787320

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

Preview Lab → · Contrast checker → · Palette generator →

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