#787220#787220

#787220 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.101 H 105.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#787220
RGBrgb(120, 114, 32)
HSLhsl(56, 58%, 30%)
HSVhsv(56, 73%, 47%)
CMYKcmyk(0%, 5%, 73.3%, 52.9%)
CIE-LABlab(47.15, -7.98, 43.85)
CIE-LCHlch(47.15, 44.57, 100.31°)
OKLaboklab(54.16% -0.0263 0.0975)
OKLCHoklch(54.16% 0.101 105.1)
XYZxyz(14.0243, 16.1325, 3.7414)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787220 #202678
analogous
#784620 #787220 #527820
triadic
#787220 #207872 #722078
tetradic
#787220 #207846 #202678 #782052
square
#787220 #207846 #202678 #782052
split-complementary
#787220 #205278 #462078
monochromatic
#181706 #484413 #787220 #A8A02D #CDC445

Accessibility & contrast

On white

4.97
#787220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#787220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787220
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787220#FFFFFF#000000##FFFFFF
##7872201.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E13
Deuteranopia (green-blind)
#7F7126
Tritanopia (blue-blind)
#816A62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #787220;
/* rgb */ color: rgb(120, 114, 32);
/* oklch */ color: oklch(54.2% 0.101 105.1);
Tailwind
colors: {
  custom: {
    50: '#a29a61',
    500: '#787220',
    950: '#000000',
  },
}
SCSS
$custom: #787220;
$custom-light: #a29a61;
$custom-dark: #000000;
JSON
{
  "hex": "#787220",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 55.909,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.10098,
    "h": 105.1
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#787220
secondary
#484FAB
accent
#51E147
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787220

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

Preview Lab → · Contrast checker → · Palette generator →

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