#787819#787819

#787819 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.5% C 0.112 H 109.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#787819
RGBrgb(120, 120, 25)
HSLhsl(60, 66%, 28%)
HSVhsv(60, 79%, 47%)
CMYKcmyk(0%, 0%, 79.2%, 52.9%)
CIE-LABlab(48.88, -11.64, 48.12)
CIE-LCHlch(48.88, 49.50, 103.60°)
OKLaboklab(55.53% -0.0373 0.1051)
OKLCHoklch(55.53% 0.112 109.5)
XYZxyz(14.6382, 17.4966, 3.5256)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787819 #191978
analogous
#784819 #787819 #487819
triadic
#787819 #197878 #781978
tetradic
#787819 #197848 #191978 #781948
square
#787819 #197848 #191978 #781948
split-complementary
#787819 #194878 #481978
monochromatic
#191905 #45450E #787819 #ABAB24 #D5D536

Accessibility & contrast

On white

4.67
#787819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#787819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787819
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787819#FFFFFF#000000##FFFFFF
##7878191.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827302
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#817066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #787819;
/* rgb */ color: rgb(120, 120, 25);
/* oklch */ color: oklch(55.5% 0.112 109.5);
Tailwind
colors: {
  custom: {
    50: '#a29e5f',
    500: '#787819',
    950: '#000000',
  },
}
SCSS
$custom: #787819;
$custom-light: #a29e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#787819",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55532,
    "c": 0.11156,
    "h": 109.5
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#787819
secondary
#4040AD
accent
#3FE83F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787819

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

Preview Lab → · Contrast checker → · Palette generator →

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