#787622#787622

#787622 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.1% C 0.104 H 108.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#787622
RGBrgb(120, 118, 34)
HSLhsl(59, 56%, 30%)
HSVhsv(59, 72%, 47%)
CMYKcmyk(0%, 1.7%, 71.7%, 52.9%)
CIE-LABlab(48.34, -10.09, 44.22)
CIE-LCHlch(48.34, 45.35, 102.86°)
OKLaboklab(55.12% -0.0321 0.0986)
OKLCHoklch(55.12% 0.104 108)
XYZxyz(14.5134, 17.0659, 4.0426)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787622 #222478
analogous
#784B22 #787622 #4F7822
triadic
#787622 #227876 #762278
tetradic
#787622 #22784B #222478 #78224F
square
#787622 #22784B #222478 #78224F
split-complementary
#787622 #224F78 #4B2278
monochromatic
#191807 #484714 #787622 #A8A530 #CBC849

Accessibility & contrast

On white

4.76
#787622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#787622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787622
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787622#FFFFFF#000000##FFFFFF
##7876221.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#816E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787622;
/* rgb */ color: rgb(120, 118, 34);
/* oklch */ color: oklch(55.1% 0.104 108.0);
Tailwind
colors: {
  custom: {
    50: '#a29d63',
    500: '#787622',
    950: '#000000',
  },
}
SCSS
$custom: #787622;
$custom-light: #a29d63;
$custom-dark: #000000;
JSON
{
  "hex": "#787622",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 58.605,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.1037,
    "h": 108
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#787622
secondary
#4B4DAB
accent
#4CDF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787622

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

Preview Lab → · Contrast checker → · Palette generator →

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