#787652#787652

#787652 is a mid, muted yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.052 H 105.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#787652
RGBrgb(120, 118, 82)
HSLhsl(57, 19%, 40%)
HSVhsv(57, 32%, 47%)
CMYKcmyk(0%, 1.7%, 31.7%, 52.9%)
CIE-LABlab(48.96, -5.37, 20.16)
CIE-LCHlch(48.96, 20.87, 104.92°)
OKLaboklab(55.81% -0.0137 0.0503)
OKLCHoklch(55.81% 0.052 105.3)
XYZxyz(15.7473, 17.5594, 10.5408)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787652 #525478
analogous
#786352 #787652 #677852
triadic
#787652 #527876 #765278
tetradic
#787652 #527863 #525478 #785267
square
#787652 #527863 #525478 #785267
split-complementary
#787652 #526778 #635278
monochromatic
#2F2E20 #545239 #787652 #9B986C #B4B291

Accessibility & contrast

On white

4.65
#787652 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#787652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787652
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787652#FFFFFF#000000##FFFFFF
##7876521.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7350
Deuteranopia (green-blind)
#7D7553
Tritanopia (blue-blind)
#7D716D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787652;
/* rgb */ color: rgb(120, 118, 82);
/* oklch */ color: oklch(55.8% 0.052 105.3);
Tailwind
colors: {
  custom: {
    50: '#9f9d83',
    500: '#787652',
    950: '#000000',
  },
}
SCSS
$custom: #787652;
$custom-light: #9f9d83;
$custom-dark: #000000;
JSON
{
  "hex": "#787652",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 82
  },
  "hsl": {
    "h": 56.842,
    "s": 18.812,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.05218,
    "h": 105.3
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#787652
secondary
#8586A1
accent
#71BB6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0A
muted
#7E7E7C

Preview Lab

Preview with #787652

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

Preview Lab → · Contrast checker → · Palette generator →

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