#786319#786319

#786319 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.7% C 0.093 H 92.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#786319
RGBrgb(120, 99, 25)
HSLhsl(47, 66%, 28%)
HSVhsv(47, 79%, 47%)
CMYKcmyk(0%, 17.5%, 79.2%, 52.9%)
CIE-LABlab(42.74, 0.27, 42.43)
CIE-LCHlch(42.74, 42.43, 89.64°)
OKLaboklab(50.66% -0.0037 0.093)
OKLCHoklch(50.66% 0.093 92.3)
XYZxyz(12.3837, 12.9877, 2.7741)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786319 #192E78
analogous
#783319 #786319 #5D7819
triadic
#786319 #197863 #631978
tetradic
#786319 #197833 #192E78 #78195D
square
#786319 #197833 #192E78 #78195D
split-complementary
#786319 #195D78 #331978
monochromatic
#191505 #45390E #786319 #AB8D24 #D5B236

Accessibility & contrast

On white

5.84
#786319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#786319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786319
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786319#FFFFFF#000000##FFFFFF
##7863191.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F610B
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#825A55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #786319;
/* rgb */ color: rgb(120, 99, 25);
/* oklch */ color: oklch(50.7% 0.093 92.3);
Tailwind
colors: {
  custom: {
    50: '#a28f5c',
    500: '#786319',
    950: '#000000',
  },
}
SCSS
$custom: #786319;
$custom-light: #a28f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#786319",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 25
  },
  "hsl": {
    "h": 46.737,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.0931,
    "h": 92.3
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#786319
secondary
#4058AD
accent
#65E83F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786319

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

Preview Lab → · Contrast checker → · Palette generator →

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