#786219#786219

#786219 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.4% C 0.092 H 91.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#786219
RGBrgb(120, 98, 25)
HSLhsl(46, 66%, 28%)
HSVhsv(46, 79%, 47%)
CMYKcmyk(0%, 18.3%, 79.2%, 52.9%)
CIE-LABlab(42.46, 0.85, 42.16)
CIE-LCHlch(42.46, 42.17, 88.84°)
OKLaboklab(50.43% -0.0021 0.0925)
OKLCHoklch(50.43% 0.092 91.3)
XYZxyz(12.2896, 12.7994, 2.7427)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786219 #192F78
analogous
#783219 #786219 #5E7819
triadic
#786219 #197862 #621978
tetradic
#786219 #197832 #192F78 #78195E
square
#786219 #197832 #192F78 #78195E
split-complementary
#786219 #195E78 #321978
monochromatic
#191505 #45390E #786219 #AB8B24 #D5B036

Accessibility & contrast

On white

5.90
#786219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#786219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786219
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786219#FFFFFF#000000##FFFFFF
##7862191.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610C
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#825954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #786219;
/* rgb */ color: rgb(120, 98, 25);
/* oklch */ color: oklch(50.4% 0.092 91.3);
Tailwind
colors: {
  custom: {
    50: '#a38e5c',
    500: '#786219',
    950: '#000000',
  },
}
SCSS
$custom: #786219;
$custom-light: #a38e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#786219",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 25
  },
  "hsl": {
    "h": 46.105,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50433,
    "c": 0.09247,
    "h": 91.3
  },
  "luminance": 0.12799
}

Semantic roles & 50–950 ramp

primary
#786219
secondary
#4059AD
accent
#66E83F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786219

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

Preview Lab → · Contrast checker → · Palette generator →

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