#787322#787322

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

Color values

HEX#787322
RGBrgb(120, 115, 34)
HSLhsl(57, 56%, 30%)
HSVhsv(57, 72%, 47%)
CMYKcmyk(0%, 4.2%, 71.7%, 52.9%)
CIE-LABlab(47.46, -8.43, 43.33)
CIE-LCHlch(47.46, 44.14, 101.00°)
OKLaboklab(54.42% -0.0274 0.0968)
OKLCHoklch(54.42% 0.101 105.8)
XYZxyz(14.1657, 16.3705, 3.9267)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787322 #222778
analogous
#784822 #787322 #527822
triadic
#787322 #227873 #732278
tetradic
#787322 #227848 #222778 #782252
square
#787322 #227848 #222778 #782252
split-complementary
#787322 #225278 #482278
monochromatic
#191807 #484514 #787322 #A8A130 #CBC449

Accessibility & contrast

On white

4.91
#787322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #787322
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787322#FFFFFF#000000##FFFFFF
##7873221.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #787322;
/* rgb */ color: rgb(120, 115, 34);
/* oklch */ color: oklch(54.4% 0.101 105.8);
Tailwind
colors: {
  custom: {
    50: '#a29b63',
    500: '#787322',
    950: '#000000',
  },
}
SCSS
$custom: #787322;
$custom-light: #a29b63;
$custom-dark: #000000;
JSON
{
  "hex": "#787322",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 56.512,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.10055,
    "h": 105.8
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#787322
secondary
#4B50AB
accent
#51DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787322

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

Preview Lab → · Contrast checker → · Palette generator →

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