#787347#787347

#787347 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.063 H 102.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#787347
RGBrgb(120, 115, 71)
HSLhsl(54, 26%, 37%)
HSVhsv(54, 41%, 47%)
CMYKcmyk(0%, 4.2%, 40.8%, 52.9%)
CIE-LABlab(47.89, -5.11, 25.04)
CIE-LCHlch(47.89, 25.55, 101.54°)
OKLaboklab(54.9% -0.0137 0.0613)
OKLCHoklch(54.9% 0.063 102.6)
XYZxyz(15.0140, 16.7099, 8.3944)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787347 #474C78
analogous
#785B47 #787347 #647847
triadic
#787347 #477873 #734778
tetradic
#787347 #47785B #474C78 #784764
square
#787347 #47785B #474C78 #784764
split-complementary
#787347 #476478 #5B4778
monochromatic
#2B291A #524E30 #787347 #9E985E #B6B183

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787347#FFFFFF#000000##FFFFFF
##7873471.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)
#7A7044
Deuteranopia (green-blind)
#7C7349
Tritanopia (blue-blind)
#7F6D68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #787347;
/* rgb */ color: rgb(120, 115, 71);
/* oklch */ color: oklch(54.9% 0.063 102.6);
Tailwind
colors: {
  custom: {
    50: '#a09b7b',
    500: '#787347',
    950: '#000000',
  },
}
SCSS
$custom: #787347;
$custom-light: #a09b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#787347",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 71
  },
  "hsl": {
    "h": 53.878,
    "s": 25.654,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54902,
    "c": 0.06277,
    "h": 102.6
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#787347
secondary
#797DA2
accent
#6FC266
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B

Preview Lab

Preview with #787347

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

Preview Lab → · Contrast checker → · Palette generator →

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