#787635#787635

#787635 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.087 H 107.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#787635
RGBrgb(120, 118, 53)
HSLhsl(58, 39%, 34%)
HSVhsv(58, 56%, 47%)
CMYKcmyk(0%, 1.7%, 55.8%, 52.9%)
CIE-LABlab(48.52, -8.70, 35.54)
CIE-LCHlch(48.52, 36.59, 103.76°)
OKLaboklab(55.32% -0.0259 0.0831)
OKLCHoklch(55.32% 0.087 107.3)
XYZxyz(14.8672, 17.2074, 5.9057)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787635 #353778
analogous
#785535 #787635 #597835
triadic
#787635 #357876 #763578
tetradic
#787635 #357855 #353778 #783559
square
#787635 #357855 #353778 #783559
split-complementary
#787635 #355978 #553578
monochromatic
#232310 #4E4C22 #787635 #A2A048 #BDBB6A

Accessibility & contrast

On white

4.73
#787635 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#787635 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787635
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787635#FFFFFF#000000##FFFFFF
##7876351.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722F
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#806F67
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787635;
/* rgb */ color: rgb(120, 118, 53);
/* oklch */ color: oklch(55.3% 0.087 107.3);
Tailwind
colors: {
  custom: {
    50: '#a19d6e',
    500: '#787635',
    950: '#000000',
  },
}
SCSS
$custom: #787635;
$custom-light: #a19d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#787635",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 53
  },
  "hsl": {
    "h": 58.209,
    "s": 38.728,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.08702,
    "h": 107.3
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#787635
secondary
#6365A6
accent
#5DCF59
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #787635

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

Preview Lab → · Contrast checker → · Palette generator →

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