#777818#777818

#777818 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.4% C 0.112 H 110.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#777818
RGBrgb(119, 120, 24)
HSLhsl(61, 67%, 28%)
HSVhsv(61, 80%, 47%)
CMYKcmyk(0.8%, 0%, 80%, 52.9%)
CIE-LABlab(48.79, -12.15, 48.33)
CIE-LCHlch(48.79, 49.84, 104.11°)
OKLaboklab(55.43% -0.0388 0.1054)
OKLCHoklch(55.43% 0.112 110.2)
XYZxyz(14.4896, 17.4213, 3.4633)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777818 #191878
analogous
#784918 #777818 #477818
triadic
#777818 #187778 #781877
tetradic
#777818 #187849 #191878 #781847
square
#777818 #187849 #191878 #781847
split-complementary
#777818 #184778 #491878
monochromatic
#191A05 #44450E #777818 #AAAB22 #D5D634

Accessibility & contrast

On white

4.68
#777818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#777818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #777818
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777818#FFFFFF#000000##FFFFFF
##7778181.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#807066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #777818;
/* rgb */ color: rgb(119, 120, 24);
/* oklch */ color: oklch(55.4% 0.112 110.2);
Tailwind
colors: {
  custom: {
    50: '#a19e5e',
    500: '#777818',
    950: '#000000',
  },
}
SCSS
$custom: #777818;
$custom-light: #a19e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#777818",
  "rgb": {
    "r": 119,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 60.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.11234,
    "h": 110.2
  },
  "luminance": 0.17421
}

Semantic roles & 50–950 ramp

primary
#777818
secondary
#403FAD
accent
#3EEA40
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777818

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

Preview Lab → · Contrast checker → · Palette generator →

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