#786719#786719

#786719 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.6% C 0.096 H 96.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#786719
RGBrgb(120, 103, 25)
HSLhsl(49, 66%, 28%)
HSVhsv(49, 79%, 47%)
CMYKcmyk(0%, 14.2%, 79.2%, 52.9%)
CIE-LABlab(43.89, -2.06, 43.51)
CIE-LCHlch(43.89, 43.56, 92.71°)
OKLaboklab(51.57% -0.0104 0.0953)
OKLCHoklch(51.57% 0.096 96.2)
XYZxyz(12.7721, 13.7644, 2.9036)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786719 #192A78
analogous
#783719 #786719 #597819
triadic
#786719 #197867 #671978
tetradic
#786719 #197837 #192A78 #781959
square
#786719 #197837 #192A78 #781959
split-complementary
#786719 #195978 #371978
monochromatic
#191605 #453C0E #786719 #AB9224 #D5B936

Accessibility & contrast

On white

5.60
#786719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#786719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786719
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786719#FFFFFF#000000##FFFFFF
##7867191.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650A
Deuteranopia (green-blind)
#776A1E
Tritanopia (blue-blind)
#825E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #786719;
/* rgb */ color: rgb(120, 103, 25);
/* oklch */ color: oklch(51.6% 0.096 96.2);
Tailwind
colors: {
  custom: {
    50: '#a2925c',
    500: '#786719',
    950: '#000000',
  },
}
SCSS
$custom: #786719;
$custom-light: #a2925c;
$custom-dark: #000000;
JSON
{
  "hex": "#786719",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 25
  },
  "hsl": {
    "h": 49.263,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.09588,
    "h": 96.2
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#786719
secondary
#4054AD
accent
#5EE83F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #786719

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

Preview Lab → · Contrast checker → · Palette generator →

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