#777018#777018

#777018 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.5% C 0.104 H 104.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#777018
RGBrgb(119, 112, 24)
HSLhsl(56, 66%, 28%)
HSVhsv(56, 80%, 47%)
CMYKcmyk(0%, 5.9%, 79.8%, 53.3%)
CIE-LABlab(46.41, -7.72, 46.18)
CIE-LCHlch(46.41, 46.82, 99.49°)
OKLaboklab(53.54% -0.0264 0.1008)
OKLCHoklch(53.54% 0.104 104.7)
XYZxyz(13.5674, 15.5768, 3.1559)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777018 #181F77
analogous
#774018 #777018 #4E7718
triadic
#777018 #187770 #701877
tetradic
#777018 #187740 #181F77 #77184E
square
#777018 #187740 #181F77 #77184E
split-complementary
#777018 #184E77 #401877
monochromatic
#191805 #44400E #777018 #AAA022 #D6CA33

Accessibility & contrast

On white

5.10
#777018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#777018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #777018
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777018#FFFFFF#000000##FFFFFF
##7770181.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#80685F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #777018;
/* rgb */ color: rgb(119, 112, 24);
/* oklch */ color: oklch(53.5% 0.104 104.7);
Tailwind
colors: {
  custom: {
    50: '#a1985d',
    500: '#777018',
    950: '#000000',
  },
}
SCSS
$custom: #777018;
$custom-light: #a1985d;
$custom-dark: #000000;
JSON
{
  "hex": "#777018",
  "rgb": {
    "r": 119,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 55.579,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53541,
    "c": 0.10423,
    "h": 104.7
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

primary
#777018
secondary
#3F47AC
accent
#4BE93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #777018

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

Preview Lab → · Contrast checker → · Palette generator →

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