#787928#787928

#787928 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.102 H 110.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#787928
RGBrgb(120, 121, 40)
HSLhsl(61, 50%, 32%)
HSVhsv(61, 67%, 47%)
CMYKcmyk(0.8%, 0%, 66.9%, 52.5%)
CIE-LABlab(49.28, -11.37, 42.60)
CIE-LCHlch(49.28, 44.09, 104.95°)
OKLaboklab(55.88% -0.035 0.0963)
OKLCHoklch(55.88% 0.102 110)
XYZxyz(14.9666, 17.8214, 4.6586)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787928 #292879
analogous
#795228 #787928 #507928
triadic
#787928 #287879 #792878
tetradic
#787928 #287952 #292879 #792850
square
#787928 #287952 #292879 #792850
split-complementary
#787928 #285079 #522879
monochromatic
#1D1D0A #4A4B19 #787928 #A6A737 #C5C755

Accessibility & contrast

On white

4.60
#787928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#787928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787928
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787928#FFFFFF#000000##FFFFFF
##7879281.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#807168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787928;
/* rgb */ color: rgb(120, 121, 40);
/* oklch */ color: oklch(55.9% 0.102 110.0);
Tailwind
colors: {
  custom: {
    50: '#a19f67',
    500: '#787928',
    950: '#000000',
  },
}
SCSS
$custom: #787928;
$custom-light: #a19f67;
$custom-dark: #000000;
JSON
{
  "hex": "#787928",
  "rgb": {
    "r": 120,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 60.741,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.10243,
    "h": 110
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#787928
secondary
#5352AB
accent
#4EDA50
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #787928

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

Preview Lab → · Contrast checker → · Palette generator →

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