#777218#777218

#777218 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.0% C 0.106 H 106.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#777218
RGBrgb(119, 114, 24)
HSLhsl(57, 66%, 28%)
HSVhsv(57, 80%, 47%)
CMYKcmyk(0%, 4.2%, 79.8%, 53.3%)
CIE-LABlab(47.00, -8.84, 46.71)
CIE-LCHlch(47.00, 47.54, 100.71°)
OKLaboklab(54.01% -0.0295 0.102)
OKLCHoklch(54.01% 0.106 106.1)
XYZxyz(13.7905, 16.0230, 3.2303)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777218 #181D77
analogous
#774218 #777218 #4C7718
triadic
#777218 #187772 #721877
tetradic
#777218 #187742 #181D77 #77184C
square
#777218 #187742 #181D77 #77184C
split-complementary
#777218 #184C77 #421877
monochromatic
#191805 #44410E #777218 #AAA322 #D6CD33

Accessibility & contrast

On white

4.99
#777218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#777218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #777218
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777218#FFFFFF#000000##FFFFFF
##7772181.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D03
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#806A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #777218;
/* rgb */ color: rgb(119, 114, 24);
/* oklch */ color: oklch(54.0% 0.106 106.1);
Tailwind
colors: {
  custom: {
    50: '#a19a5d',
    500: '#777218',
    950: '#000000',
  },
}
SCSS
$custom: #777218;
$custom-light: #a19a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#777218",
  "rgb": {
    "r": 119,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 56.842,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.10618,
    "h": 106.1
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#777218
secondary
#3F45AC
accent
#47E93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777218

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

Preview Lab → · Contrast checker → · Palette generator →

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