#786419#786419

#786419 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.9% C 0.094 H 93.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#786419
RGBrgb(120, 100, 25)
HSLhsl(47, 66%, 28%)
HSVhsv(47, 79%, 47%)
CMYKcmyk(0%, 16.7%, 79.2%, 52.9%)
CIE-LABlab(43.03, -0.32, 42.70)
CIE-LCHlch(43.03, 42.70, 90.42°)
OKLaboklab(50.88% -0.0054 0.0936)
OKLCHoklch(50.88% 0.094 93.3)
XYZxyz(12.4791, 13.1783, 2.8059)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786419 #192D78
analogous
#783419 #786419 #5C7819
triadic
#786419 #197864 #641978
tetradic
#786419 #197834 #192D78 #78195C
square
#786419 #197834 #192D78 #78195C
split-complementary
#786419 #195C78 #341978
monochromatic
#191505 #453A0E #786419 #AB8E24 #D5B436

Accessibility & contrast

On white

5.78
#786419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#786419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786419
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786419#FFFFFF#000000##FFFFFF
##7864191.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70620B
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#825B56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786419;
/* rgb */ color: rgb(120, 100, 25);
/* oklch */ color: oklch(50.9% 0.094 93.3);
Tailwind
colors: {
  custom: {
    50: '#a28f5c',
    500: '#786419',
    950: '#000000',
  },
}
SCSS
$custom: #786419;
$custom-light: #a28f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#786419",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 25
  },
  "hsl": {
    "h": 47.368,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.09376,
    "h": 93.3
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#786419
secondary
#4057AD
accent
#63E83F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786419

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

Preview Lab → · Contrast checker → · Palette generator →

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