#777918#777918

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

Color values

HEX#777918
RGBrgb(119, 121, 24)
HSLhsl(61, 67%, 28%)
HSVhsv(61, 80%, 47%)
CMYKcmyk(1.7%, 0%, 80.2%, 52.5%)
CIE-LABlab(49.08, -12.70, 48.60)
CIE-LCHlch(49.08, 50.23, 104.64°)
OKLaboklab(55.67% -0.0403 0.106)
OKLCHoklch(55.67% 0.113 110.8)
XYZxyz(14.6105, 17.6630, 3.5036)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777918 #1A1879
analogous
#794A18 #777918 #467918
triadic
#777918 #187779 #791877
tetradic
#777918 #18794A #1A1879 #791846
square
#777918 #18794A #1A1879 #791846
split-complementary
#777918 #184679 #4A1879
monochromatic
#191A05 #45460E #777918 #A9AC22 #D3D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##777918#FFFFFF#000000##FFFFFF
##7779181.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)
#847621
Tritanopia (blue-blind)
#807167
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #777918;
/* rgb */ color: rgb(119, 121, 24);
/* oklch */ color: oklch(55.7% 0.113 110.8);
Tailwind
colors: {
  custom: {
    50: '#a19f5e',
    500: '#777918',
    950: '#000000',
  },
}
SCSS
$custom: #777918;
$custom-light: #a19f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#777918",
  "rgb": {
    "r": 119,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 61.237,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55673,
    "c": 0.1134,
    "h": 110.8
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#777918
secondary
#413FAE
accent
#3EEA42
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777918

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

Preview Lab → · Contrast checker → · Palette generator →

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