#788519#788519

#788519 is a mid, vivid yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.126 H 116.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#788519
RGBrgb(120, 133, 25)
HSLhsl(67, 68%, 31%)
HSVhsv(67, 81%, 52%)
CMYKcmyk(9.8%, 0%, 81.2%, 47.8%)
CIE-LABlab(52.77, -18.59, 51.63)
CIE-LCHlch(52.77, 54.88, 109.80°)
OKLaboklab(58.65% -0.0565 0.1126)
OKLCHoklch(58.65% 0.126 116.7)
XYZxyz(16.3092, 20.8385, 4.0826)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788519 #261985
analogous
#855C19 #788519 #428519
triadic
#788519 #197885 #851978
tetradic
#788519 #19855C #261985 #851942
square
#788519 #19855C #261985 #851942
split-complementary
#788519 #194285 #5C1985
monochromatic
#1B1E06 #4A510F #788519 #A6B923 #C8DB3E

Accessibility & contrast

On white

4.06
#788519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#788519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788519
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788519#FFFFFF#000000##000000
##7885191.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#807D71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #788519;
/* rgb */ color: rgb(120, 133, 25);
/* oklch */ color: oklch(58.7% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#a2a861',
    500: '#788519',
    950: '#000000',
  },
}
SCSS
$custom: #788519;
$custom-light: #a2a861;
$custom-dark: #000000;
JSON
{
  "hex": "#788519",
  "rgb": {
    "r": 120,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 67.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58652,
    "c": 0.12603,
    "h": 116.7
  },
  "luminance": 0.20838
}

Semantic roles & 50–950 ramp

primary
#788519
secondary
#5041B9
accent
#3DEB52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #788519

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

Preview Lab → · Contrast checker → · Palette generator →

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