#777917#777917

#777917 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.7% C 0.114 H 110.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#777917
RGBrgb(119, 121, 23)
HSLhsl(61, 68%, 28%)
HSVhsv(61, 81%, 47%)
CMYKcmyk(1.7%, 0%, 81%, 52.5%)
CIE-LABlab(49.08, -12.74, 48.92)
CIE-LCHlch(49.08, 50.55, 104.59°)
OKLaboklab(55.67% -0.0405 0.1065)
OKLCHoklch(55.67% 0.114 110.8)
XYZxyz(14.6003, 17.6590, 3.4499)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777917 #191779
analogous
#794A17 #777917 #467917
triadic
#777917 #177779 #791777
tetradic
#777917 #17794A #191779 #791746
square
#777917 #17794A #191779 #791746
split-complementary
#777917 #174679 #4A1779
monochromatic
#191A05 #44460D #777917 #AAAC21 #D5D832

Accessibility & contrast

On white

4.63
#777917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#777917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #777917
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777917#FFFFFF#000000##FFFFFF
##7779171.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#807167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #777917;
/* rgb */ color: rgb(119, 121, 23);
/* oklch */ color: oklch(55.7% 0.114 110.8);
Tailwind
colors: {
  custom: {
    50: '#a19f5e',
    500: '#777917',
    950: '#000000',
  },
}
SCSS
$custom: #777917;
$custom-light: #a19f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#777917",
  "rgb": {
    "r": 119,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 61.224,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.11393,
    "h": 110.8
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#777917
secondary
#403EAE
accent
#3DEB40
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777917

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

Preview Lab → · Contrast checker → · Palette generator →

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