#787422#787422

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

Color values

HEX#787422
RGBrgb(120, 116, 34)
HSLhsl(57, 56%, 30%)
HSVhsv(57, 72%, 47%)
CMYKcmyk(0%, 3.3%, 71.7%, 52.9%)
CIE-LABlab(47.75, -8.98, 43.63)
CIE-LCHlch(47.75, 44.54, 101.63°)
OKLaboklab(54.65% -0.0289 0.0974)
OKLCHoklch(54.65% 0.102 106.6)
XYZxyz(14.2804, 16.5998, 3.9649)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787422 #222678
analogous
#784922 #787422 #517822
triadic
#787422 #227874 #742278
tetradic
#787422 #227849 #222678 #782251
square
#787422 #227849 #222678 #782251
split-complementary
#787422 #225178 #492278
monochromatic
#191807 #484614 #787422 #A8A230 #CBC549

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787422#FFFFFF#000000##FFFFFF
##7874221.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)
#7E6F15
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#816C64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787422;
/* rgb */ color: rgb(120, 116, 34);
/* oklch */ color: oklch(54.6% 0.102 106.6);
Tailwind
colors: {
  custom: {
    50: '#a29b63',
    500: '#787422',
    950: '#000000',
  },
}
SCSS
$custom: #787422;
$custom-light: #a29b63;
$custom-dark: #000000;
JSON
{
  "hex": "#787422",
  "rgb": {
    "r": 120,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 57.209,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5465,
    "c": 0.10159,
    "h": 106.6
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#787422
secondary
#4B4FAB
accent
#50DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787422

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

Preview Lab → · Contrast checker → · Palette generator →

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