#777A15#777A15

#777A15 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#777A15
RGBrgb(119, 122, 21)
HSLhsl(62, 71%, 28%)
HSVhsv(62, 83%, 48%)
CMYKcmyk(2.5%, 0%, 82.8%, 52.2%)
CIE-LABlab(49.37, -13.36, 49.79)
CIE-LCHlch(49.37, 51.55, 105.01°)
OKLaboklab(55.9% -0.0424 0.108)
OKLCHoklch(55.9% 0.116 111.4)
XYZxyz(14.7032, 17.8955, 3.3890)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777A15 #18157A
analogous
#7A4A15 #777A15 #447A15
triadic
#777A15 #15777A #7A1577
tetradic
#777A15 #157A4A #18157A #7A1544
square
#777A15 #157A4A #18157A #7A1544
split-complementary
#777A15 #15447A #4A157A
monochromatic
#191A04 #44460C #777A15 #AAAE1E #D6DB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##777A15#FFFFFF#000000##FFFFFF
##777A151.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: #777a15;
/* rgb */ color: rgb(119, 122, 21);
/* oklch */ color: oklch(55.9% 0.116 111.4);
Tailwind
colors: {
  custom: {
    50: '#a2a05d',
    500: '#777a15',
    950: '#000000',
  },
}
SCSS
$custom: #777a15;
$custom-light: #a2a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#777a15",
  "rgb": {
    "r": 119,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 61.782,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.11599,
    "h": 111.4
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#777A15
secondary
#3F3BAF
accent
#3AED40
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777A15

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

Preview Lab → · Contrast checker → · Palette generator →

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