#787255#787255

#787255 is a mid, muted yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.043 H 97.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#787255
RGBrgb(120, 114, 85)
HSLhsl(50, 17%, 40%)
HSVhsv(50, 29%, 47%)
CMYKcmyk(0%, 5%, 29.2%, 52.9%)
CIE-LABlab(47.86, -2.66, 16.95)
CIE-LCHlch(47.86, 17.16, 98.91°)
OKLaboklab(54.96% -0.0058 0.0428)
OKLCHoklch(54.96% 0.043 97.8)
XYZxyz(15.4028, 16.6839, 11.0015)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787255 #555B78
analogous
#786055 #787255 #6C7855
triadic
#787255 #557872 #725578
tetradic
#787255 #557860 #555B78 #78556C
square
#787255 #557860 #555B78 #78556C
split-complementary
#787255 #556C78 #605578
monochromatic
#302E22 #54503C #787255 #9A9370 #B3AE94

Accessibility & contrast

On white

4.84
#787255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#787255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787255
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787255#FFFFFF#000000##FFFFFF
##7872551.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787053
Deuteranopia (green-blind)
#7A7356
Tritanopia (blue-blind)
#7D6E6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787255;
/* rgb */ color: rgb(120, 114, 85);
/* oklch */ color: oklch(55.0% 0.043 97.8);
Tailwind
colors: {
  custom: {
    50: '#9f9a85',
    500: '#787255',
    950: '#000000',
  },
}
SCSS
$custom: #787255;
$custom-light: #9f9a85;
$custom-dark: #000000;
JSON
{
  "hex": "#787255",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 85
  },
  "hsl": {
    "h": 49.714,
    "s": 17.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.04315,
    "h": 97.8
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#787255
secondary
#888CA1
accent
#7BBA6E
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0B
muted
#7E7E7C

Preview Lab

Preview with #787255

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

Preview Lab → · Contrast checker → · Palette generator →

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