#777A16#777A16

#777A16 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.9% C 0.116 H 111.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#777A16
RGBrgb(119, 122, 22)
HSLhsl(62, 69%, 28%)
HSVhsv(62, 82%, 48%)
CMYKcmyk(2.5%, 0%, 82%, 52.2%)
CIE-LABlab(49.37, -13.32, 49.49)
CIE-LCHlch(49.37, 51.26, 105.06°)
OKLaboklab(55.9% -0.0422 0.1075)
OKLCHoklch(55.9% 0.116 111.4)
XYZxyz(14.7126, 17.8993, 3.4388)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777A16 #19167A
analogous
#7A4B16 #777A16 #457A16
triadic
#777A16 #16777A #7A1677
tetradic
#777A16 #167A4B #19167A #7A1645
square
#777A16 #167A4B #19167A #7A1645
split-complementary
#777A16 #16457A #4B167A
monochromatic
#191A05 #44460D #777A16 #AAAE1F #D5DA31

Accessibility & contrast

On white

4.59
#777A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#777A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #777A16
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777A16#FFFFFF#000000##FFFFFF
##777A161.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#807268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #777a16;
/* rgb */ color: rgb(119, 122, 22);
/* oklch */ color: oklch(55.9% 0.116 111.4);
Tailwind
colors: {
  custom: {
    50: '#a2a05e',
    500: '#777a16',
    950: '#000000',
  },
}
SCSS
$custom: #777a16;
$custom-light: #a2a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#777a16",
  "rgb": {
    "r": 119,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 61.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.11551,
    "h": 111.4
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#777A16
secondary
#403DAF
accent
#3CEC41
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777A16

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

Preview Lab → · Contrast checker → · Palette generator →

#777A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva