#787352#787352

#787352 is a mid, muted yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.048 H 100.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#787352
RGBrgb(120, 115, 82)
HSLhsl(52, 19%, 40%)
HSVhsv(52, 32%, 47%)
CMYKcmyk(0%, 4.2%, 31.7%, 52.9%)
CIE-LABlab(48.09, -3.66, 19.00)
CIE-LCHlch(48.09, 19.35, 100.91°)
OKLaboklab(55.12% -0.0088 0.0476)
OKLCHoklch(55.12% 0.048 100.5)
XYZxyz(15.3996, 16.8641, 10.4249)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787352 #525778
analogous
#786052 #787352 #6A7852
triadic
#787352 #527873 #735278
tetradic
#787352 #527860 #525778 #78526A
square
#787352 #527860 #525778 #78526A
split-complementary
#787352 #526A78 #605278
monochromatic
#2F2D20 #545039 #787352 #9B956C #B4AF91

Accessibility & contrast

On white

4.80
#787352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#787352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787352
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787352#FFFFFF#000000##FFFFFF
##7873521.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#7B7353
Tritanopia (blue-blind)
#7E6E6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787352;
/* rgb */ color: rgb(120, 115, 82);
/* oklch */ color: oklch(55.1% 0.048 100.5);
Tailwind
colors: {
  custom: {
    50: '#9f9b83',
    500: '#787352',
    950: '#000000',
  },
}
SCSS
$custom: #787352;
$custom-light: #9f9b83;
$custom-dark: #000000;
JSON
{
  "hex": "#787352",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 82
  },
  "hsl": {
    "h": 52.105,
    "s": 18.812,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.04841,
    "h": 100.5
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#787352
secondary
#8588A1
accent
#77BB6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0A
muted
#7E7E7C

Preview Lab

Preview with #787352

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

Preview Lab → · Contrast checker → · Palette generator →

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