#787151#787151

#787151 is a mid, muted yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.047 H 97.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#787151
RGBrgb(120, 113, 81)
HSLhsl(49, 19%, 39%)
HSVhsv(49, 33%, 47%)
CMYKcmyk(0%, 5.8%, 32.5%, 52.9%)
CIE-LABlab(47.49, -2.66, 18.78)
CIE-LCHlch(47.49, 18.97, 98.05°)
OKLaboklab(54.64% -0.006 0.047)
OKLCHoklch(54.64% 0.047 97.3)
XYZxyz(15.1362, 16.3978, 10.1507)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787151 #515878
analogous
#785E51 #787151 #6C7851
triadic
#787151 #517871 #715178
tetradic
#787151 #51785E #515878 #78516C
square
#787151 #51785E #515878 #78516C
split-complementary
#787151 #516C78 #5E5178
monochromatic
#2F2C20 #534F38 #787151 #9B936B #B4AD90

Accessibility & contrast

On white

4.91
#787151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#787151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787151
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787151#FFFFFF#000000##FFFFFF
##7871511.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4F
Deuteranopia (green-blind)
#797252
Tritanopia (blue-blind)
#7E6C69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787151;
/* rgb */ color: rgb(120, 113, 81);
/* oklch */ color: oklch(54.6% 0.047 97.3);
Tailwind
colors: {
  custom: {
    50: '#9f9982',
    500: '#787151',
    950: '#000000',
  },
}
SCSS
$custom: #787151;
$custom-light: #9f9982;
$custom-dark: #000000;
JSON
{
  "hex": "#787151",
  "rgb": {
    "r": 120,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 49.231,
    "s": 19.403,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54643,
    "c": 0.04742,
    "h": 97.3
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#787151
secondary
#8489A1
accent
#7ABC6C
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0E0E0A
muted
#7E7E7C

Preview Lab

Preview with #787151

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

Preview Lab → · Contrast checker → · Palette generator →

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