#777B17#777B17

#777B17 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.116 H 112.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#777B17
RGBrgb(119, 123, 23)
HSLhsl(62, 68%, 29%)
HSVhsv(62, 81%, 48%)
CMYKcmyk(3.3%, 0%, 81.3%, 51.8%)
CIE-LABlab(49.68, -13.82, 49.45)
CIE-LCHlch(49.68, 51.35, 105.61°)
OKLaboklab(56.15% -0.0435 0.1076)
OKLCHoklch(56.15% 0.116 112)
XYZxyz(14.8459, 18.1501, 3.5317)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777B17 #1B177B
analogous
#7B4D17 #777B17 #457B17
triadic
#777B17 #17777B #7B1777
tetradic
#777B17 #177B4D #1B177B #7B1745
square
#777B17 #177B4D #1B177B #7B1745
split-complementary
#777B17 #17457B #4D177B
monochromatic
#191A05 #45470D #777B17 #A9AF21 #D2D933

Accessibility & contrast

On white

4.54
#777B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#777B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #777B17
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777B17#FFFFFF#000000##000000
##777B171.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#807369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #777b17;
/* rgb */ color: rgb(119, 123, 23);
/* oklch */ color: oklch(56.1% 0.116 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a15e',
    500: '#777b17',
    950: '#000000',
  },
}
SCSS
$custom: #777b17;
$custom-light: #a1a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#777b17",
  "rgb": {
    "r": 119,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 62.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.11609,
    "h": 112
  },
  "luminance": 0.1815
}

Semantic roles & 50–950 ramp

primary
#777B17
secondary
#423EB0
accent
#3CEB43
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777B17

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

Preview Lab → · Contrast checker → · Palette generator →

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