#777A18#777A18

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

Color values

HEX#777A18
RGBrgb(119, 122, 24)
HSLhsl(62, 67%, 29%)
HSVhsv(62, 80%, 48%)
CMYKcmyk(2.5%, 0%, 80.3%, 52.2%)
CIE-LABlab(49.38, -13.24, 48.87)
CIE-LCHlch(49.38, 50.63, 105.16°)
OKLaboklab(55.91% -0.0418 0.1066)
OKLCHoklch(55.91% 0.114 111.4)
XYZxyz(14.7327, 17.9073, 3.5444)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777A18 #1B187A
analogous
#7A4C18 #777A18 #467A18
triadic
#777A18 #18777A #7A1877
tetradic
#777A18 #187A4C #1B187A #7A1846
square
#777A18 #187A4C #1B187A #7A1846
split-complementary
#777A18 #18467A #4C187A
monochromatic
#191A05 #45470E #777A18 #A9AD22 #D2D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##777A18#FFFFFF#000000##000000
##777A181.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)
#857721
Tritanopia (blue-blind)
#807268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #777a18;
/* rgb */ color: rgb(119, 122, 24);
/* oklch */ color: oklch(55.9% 0.114 111.4);
Tailwind
colors: {
  custom: {
    50: '#a1a05e',
    500: '#777a18',
    950: '#000000',
  },
}
SCSS
$custom: #777a18;
$custom-light: #a1a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#777a18",
  "rgb": {
    "r": 119,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 61.837,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.11449,
    "h": 111.4
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#777A18
secondary
#423FAF
accent
#3EEA43
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777A18

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

Preview Lab → · Contrast checker → · Palette generator →

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