#777428#777428

#777428 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.6% C 0.097 H 107.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#777428
RGBrgb(119, 116, 40)
HSLhsl(58, 50%, 31%)
HSVhsv(58, 66%, 47%)
CMYKcmyk(0%, 2.5%, 66.4%, 53.3%)
CIE-LABlab(47.71, -9.07, 40.93)
CIE-LCHlch(47.71, 41.92, 102.50°)
OKLaboklab(54.61% -0.0284 0.0928)
OKLCHoklch(54.61% 0.097 107)
XYZxyz(14.2366, 16.5664, 4.4548)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777428 #282B77
analogous
#774C28 #777428 #527728
triadic
#777428 #287774 #742877
tetradic
#777428 #28774C #282B77 #772852
square
#777428 #28774C #282B77 #772852
split-complementary
#777428 #285277 #4C2877
monochromatic
#1B1B09 #494719 #777428 #A5A137 #C5C154

Accessibility & contrast

On white

4.87
#777428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#777428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #777428
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777428#FFFFFF#000000##FFFFFF
##7774281.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701E
Deuteranopia (green-blind)
#7F732D
Tritanopia (blue-blind)
#806C64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #777428;
/* rgb */ color: rgb(119, 116, 40);
/* oklch */ color: oklch(54.6% 0.097 107.0);
Tailwind
colors: {
  custom: {
    50: '#a19b66',
    500: '#777428',
    950: '#000000',
  },
}
SCSS
$custom: #777428;
$custom-light: #a19b66;
$custom-dark: #000000;
JSON
{
  "hex": "#777428",
  "rgb": {
    "r": 119,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 57.722,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.09703,
    "h": 107
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#777428
secondary
#5255A9
accent
#54D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #777428

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

Preview Lab → · Contrast checker → · Palette generator →

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