#786519#786519

#786519 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.1% C 0.094 H 94.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#786519
RGBrgb(120, 101, 25)
HSLhsl(48, 66%, 28%)
HSVhsv(48, 79%, 47%)
CMYKcmyk(0%, 15.8%, 79.2%, 52.9%)
CIE-LABlab(43.32, -0.90, 42.97)
CIE-LCHlch(43.32, 42.98, 91.20°)
OKLaboklab(51.11% -0.0071 0.0942)
OKLCHoklch(51.11% 0.094 94.3)
XYZxyz(12.5756, 13.3713, 2.8381)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786519 #192C78
analogous
#783519 #786519 #5B7819
triadic
#786519 #197865 #651978
tetradic
#786519 #197835 #192C78 #78195B
square
#786519 #197835 #192C78 #78195B
split-complementary
#786519 #195B78 #351978
monochromatic
#191505 #453A0E #786519 #AB9024 #D5B536

Accessibility & contrast

On white

5.72
#786519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#786519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786519
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786519#FFFFFF#000000##FFFFFF
##7865191.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630B
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#825C56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786519;
/* rgb */ color: rgb(120, 101, 25);
/* oklch */ color: oklch(51.1% 0.094 94.3);
Tailwind
colors: {
  custom: {
    50: '#a2905c',
    500: '#786519',
    950: '#000000',
  },
}
SCSS
$custom: #786519;
$custom-light: #a2905c;
$custom-dark: #000000;
JSON
{
  "hex": "#786519",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 48,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.09444,
    "h": 94.3
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#786519
secondary
#4056AD
accent
#61E83F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786519

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

Preview Lab → · Contrast checker → · Palette generator →

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