#787A19#787A19

#787A19 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.114 H 110.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#787A19
RGBrgb(120, 122, 25)
HSLhsl(61, 66%, 29%)
HSVhsv(61, 80%, 48%)
CMYKcmyk(1.6%, 0%, 79.5%, 52.2%)
CIE-LABlab(49.48, -12.73, 48.66)
CIE-LCHlch(49.48, 50.30, 104.67°)
OKLaboklab(56.01% -0.0403 0.1063)
OKLCHoklch(56.01% 0.114 110.8)
XYZxyz(14.8813, 17.9827, 3.6066)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787A19 #1B197A
analogous
#7A4C19 #787A19 #487A19
triadic
#787A19 #19787A #7A1978
tetradic
#787A19 #197A4C #1B197A #7A1948
square
#787A19 #197A4C #1B197A #7A1948
split-complementary
#787A19 #19487A #4C197A
monochromatic
#191905 #46470F #787A19 #AAAD23 #D3D637

Accessibility & contrast

On white

4.57
#787A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#787A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787A19
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787A19#FFFFFF#000000##000000
##787A191.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#817268
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #787a19;
/* rgb */ color: rgb(120, 122, 25);
/* oklch */ color: oklch(56.0% 0.114 110.8);
Tailwind
colors: {
  custom: {
    50: '#a2a05f',
    500: '#787a19',
    950: '#000000',
  },
}
SCSS
$custom: #787a19;
$custom-light: #a2a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#787a19",
  "rgb": {
    "r": 120,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 61.237,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.11369,
    "h": 110.8
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#787A19
secondary
#4340AF
accent
#3FE942
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787A19

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

Preview Lab → · Contrast checker → · Palette generator →

#787A19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva