#787420#787420

#787420 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.6% C 0.103 H 106.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#787420
RGBrgb(120, 116, 32)
HSLhsl(57, 58%, 30%)
HSVhsv(57, 73%, 47%)
CMYKcmyk(0%, 3.3%, 73.3%, 52.9%)
CIE-LABlab(47.74, -9.09, 44.43)
CIE-LCHlch(47.74, 45.35, 101.57°)
OKLaboklab(54.63% -0.0295 0.0987)
OKLCHoklch(54.63% 0.103 106.6)
XYZxyz(14.2524, 16.5886, 3.8174)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787420 #202478
analogous
#784820 #787420 #507820
triadic
#787420 #207874 #742078
tetradic
#787420 #207848 #202478 #782050
square
#787420 #207848 #202478 #782050
split-complementary
#787420 #205078 #482078
monochromatic
#181706 #484513 #787420 #A8A32D #CDC745

Accessibility & contrast

On white

4.86
#787420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#787420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787420
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787420#FFFFFF#000000##FFFFFF
##7874201.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F12
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#816C63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787420;
/* rgb */ color: rgb(120, 116, 32);
/* oklch */ color: oklch(54.6% 0.103 106.6);
Tailwind
colors: {
  custom: {
    50: '#a29b62',
    500: '#787420',
    950: '#000000',
  },
}
SCSS
$custom: #787420;
$custom-light: #a29b62;
$custom-dark: #000000;
JSON
{
  "hex": "#787420",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 57.273,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.10301,
    "h": 106.6
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#787420
secondary
#484DAB
accent
#4EE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787420

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

Preview Lab → · Contrast checker → · Palette generator →

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