#787520#787520

#787520 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.104 H 107.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787520
RGBrgb(120, 117, 32)
HSLhsl(58, 58%, 30%)
HSVhsv(58, 73%, 47%)
CMYKcmyk(0%, 2.5%, 73.3%, 52.9%)
CIE-LABlab(48.03, -9.65, 44.72)
CIE-LCHlch(48.03, 45.75, 102.18°)
OKLaboklab(54.87% -0.031 0.0993)
OKLCHoklch(54.87% 0.104 107.4)
XYZxyz(14.3683, 16.8204, 3.8560)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787520 #202378
analogous
#784920 #787520 #4F7820
triadic
#787520 #207875 #752078
tetradic
#787520 #207849 #202378 #78204F
square
#787520 #207849 #202378 #78204F
split-complementary
#787520 #204F78 #492078
monochromatic
#181806 #484613 #787520 #A8A42D #CDC945

Accessibility & contrast

On white

4.81
#787520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#787520 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787520
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787520#FFFFFF#000000##FFFFFF
##7875201.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7012
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#816D64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787520;
/* rgb */ color: rgb(120, 117, 32);
/* oklch */ color: oklch(54.9% 0.104 107.4);
Tailwind
colors: {
  custom: {
    50: '#a29c62',
    500: '#787520',
    950: '#000000',
  },
}
SCSS
$custom: #787520;
$custom-light: #a29c62;
$custom-dark: #000000;
JSON
{
  "hex": "#787520",
  "rgb": {
    "r": 120,
    "g": 117,
    "b": 32
  },
  "hsl": {
    "h": 57.955,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.10405,
    "h": 107.4
  },
  "luminance": 0.1682
}

Semantic roles & 50–950 ramp

primary
#787520
secondary
#484CAB
accent
#4CE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787520

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

Preview Lab → · Contrast checker → · Palette generator →

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