#787620#787620

#787620 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.1% C 0.105 H 108.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#787620
RGBrgb(120, 118, 32)
HSLhsl(59, 58%, 30%)
HSVhsv(59, 73%, 47%)
CMYKcmyk(0%, 1.7%, 73.3%, 52.9%)
CIE-LABlab(48.33, -10.20, 45.01)
CIE-LCHlch(48.33, 46.15, 102.77°)
OKLaboklab(55.11% -0.0326 0.0999)
OKLCHoklch(55.11% 0.105 108.1)
XYZxyz(14.4854, 17.0547, 3.8951)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787620 #202278
analogous
#784A20 #787620 #4E7820
triadic
#787620 #207876 #762078
tetradic
#787620 #20784A #202278 #78204E
square
#787620 #20784A #202278 #78204E
split-complementary
#787620 #204E78 #4A2078
monochromatic
#181806 #484613 #787620 #A8A62D #CDCA45

Accessibility & contrast

On white

4.76
#787620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#787620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787620
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787620#FFFFFF#000000##FFFFFF
##7876201.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807111
Deuteranopia (green-blind)
#827426
Tritanopia (blue-blind)
#816E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787620;
/* rgb */ color: rgb(120, 118, 32);
/* oklch */ color: oklch(55.1% 0.105 108.1);
Tailwind
colors: {
  custom: {
    50: '#a29d62',
    500: '#787620',
    950: '#000000',
  },
}
SCSS
$custom: #787620;
$custom-light: #a29d62;
$custom-dark: #000000;
JSON
{
  "hex": "#787620",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 58.636,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55105,
    "c": 0.10511,
    "h": 108.1
  },
  "luminance": 0.17054
}

Semantic roles & 50–950 ramp

primary
#787620
secondary
#484BAB
accent
#4AE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787620

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

Preview Lab → · Contrast checker → · Palette generator →

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