#786619#786619

#786619 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.3% C 0.095 H 95.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#786619
RGBrgb(120, 102, 25)
HSLhsl(49, 66%, 28%)
HSVhsv(49, 79%, 47%)
CMYKcmyk(0%, 15%, 79.2%, 52.9%)
CIE-LABlab(43.60, -1.48, 43.24)
CIE-LCHlch(43.60, 43.27, 91.96°)
OKLaboklab(51.34% -0.0087 0.0948)
OKLCHoklch(51.34% 0.095 95.3)
XYZxyz(12.6732, 13.5667, 2.8706)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786619 #192B78
analogous
#783719 #786619 #5A7819
triadic
#786619 #197866 #661978
tetradic
#786619 #197837 #192B78 #78195A
square
#786619 #197837 #192B78 #78195A
split-complementary
#786619 #195A78 #371978
monochromatic
#191605 #453B0E #786619 #AB9124 #D5B736

Accessibility & contrast

On white

5.66
#786619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#786619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786619
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786619#FFFFFF#000000##FFFFFF
##7866191.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640A
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#825D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #786619;
/* rgb */ color: rgb(120, 102, 25);
/* oklch */ color: oklch(51.3% 0.095 95.3);
Tailwind
colors: {
  custom: {
    50: '#a2915c',
    500: '#786619',
    950: '#000000',
  },
}
SCSS
$custom: #786619;
$custom-light: #a2915c;
$custom-dark: #000000;
JSON
{
  "hex": "#786619",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 25
  },
  "hsl": {
    "h": 48.632,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51338,
    "c": 0.09515,
    "h": 95.3
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#786619
secondary
#4055AD
accent
#5FE83F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #786619

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

Preview Lab → · Contrast checker → · Palette generator →

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