#787019#787019

#787019 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.6% C 0.104 H 103.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#787019
RGBrgb(120, 112, 25)
HSLhsl(55, 66%, 28%)
HSVhsv(55, 79%, 47%)
CMYKcmyk(0%, 6.7%, 79.2%, 52.9%)
CIE-LABlab(46.51, -7.20, 45.95)
CIE-LCHlch(46.51, 46.51, 98.91°)
OKLaboklab(53.65% -0.0249 0.1005)
OKLCHoklch(53.65% 0.104 103.9)
XYZxyz(13.7160, 15.6522, 3.2182)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787019 #192178
analogous
#784019 #787019 #507819
triadic
#787019 #197870 #701978
tetradic
#787019 #197840 #192178 #781950
square
#787019 #197840 #192178 #781950
split-complementary
#787019 #195078 #401978
monochromatic
#191805 #45410E #787019 #AB9F24 #D5C836

Accessibility & contrast

On white

5.08
#787019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#787019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787019
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787019#FFFFFF#000000##FFFFFF
##7870191.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#826860
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #787019;
/* rgb */ color: rgb(120, 112, 25);
/* oklch */ color: oklch(53.6% 0.104 103.9);
Tailwind
colors: {
  custom: {
    50: '#a2985e',
    500: '#787019',
    950: '#000000',
  },
}
SCSS
$custom: #787019;
$custom-light: #a2985e;
$custom-dark: #000000;
JSON
{
  "hex": "#787019",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 54.947,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.10355,
    "h": 103.9
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#787019
secondary
#4049AD
accent
#4EE83F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #787019

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

Preview Lab → · Contrast checker → · Palette generator →

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