#777A17#777A17

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

Color values

HEX#777A17
RGBrgb(119, 122, 23)
HSLhsl(62, 68%, 28%)
HSVhsv(62, 81%, 48%)
CMYKcmyk(2.5%, 0%, 81.1%, 52.2%)
CIE-LABlab(49.38, -13.28, 49.19)
CIE-LCHlch(49.38, 50.95, 105.11°)
OKLaboklab(55.91% -0.042 0.1071)
OKLCHoklch(55.91% 0.115 111.4)
XYZxyz(14.7225, 17.9033, 3.4906)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777A17 #1A177A
analogous
#7A4B17 #777A17 #457A17
triadic
#777A17 #17777A #7A1777
tetradic
#777A17 #177A4B #1A177A #7A1745
square
#777A17 #177A4B #1A177A #7A1745
split-complementary
#777A17 #17457A #4B177A
monochromatic
#191A05 #45470D #777A17 #A9AD21 #D3D933

Accessibility & contrast

On white

4.58
#777A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #777A17
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777A17#FFFFFF#000000##000000
##777A171.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #777a17;
/* rgb */ color: rgb(119, 122, 23);
/* oklch */ color: oklch(55.9% 0.115 111.4);
Tailwind
colors: {
  custom: {
    50: '#a1a05e',
    500: '#777a17',
    950: '#000000',
  },
}
SCSS
$custom: #777a17;
$custom-light: #a1a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#777a17",
  "rgb": {
    "r": 119,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 61.818,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55906,
    "c": 0.11501,
    "h": 111.4
  },
  "luminance": 0.17903
}

Semantic roles & 50–950 ramp

primary
#777A17
secondary
#413EAF
accent
#3DEB42
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777A17

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

Preview Lab → · Contrast checker → · Palette generator →

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