#777817#777817

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

Color values

HEX#777817
RGBrgb(119, 120, 23)
HSLhsl(61, 68%, 28%)
HSVhsv(61, 81%, 47%)
CMYKcmyk(0.8%, 0%, 80.8%, 52.9%)
CIE-LABlab(48.78, -12.19, 48.65)
CIE-LCHlch(48.78, 50.16, 104.07°)
OKLaboklab(55.43% -0.039 0.1059)
OKLCHoklch(55.43% 0.113 110.2)
XYZxyz(14.4794, 17.4172, 3.4096)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777817 #181778
analogous
#784917 #777817 #467817
triadic
#777817 #177778 #781777
tetradic
#777817 #177849 #181778 #781746
square
#777817 #177849 #181778 #781746
split-complementary
#777817 #174678 #491778
monochromatic
#191A05 #44450D #777817 #AAAB21 #D6D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##777817#FFFFFF#000000##FFFFFF
##7778171.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: #777817;
/* rgb */ color: rgb(119, 120, 23);
/* oklch */ color: oklch(55.4% 0.113 110.2);
Tailwind
colors: {
  custom: {
    50: '#a19e5e',
    500: '#777817',
    950: '#000000',
  },
}
SCSS
$custom: #777817;
$custom-light: #a19e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#777817",
  "rgb": {
    "r": 119,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 60.619,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.11287,
    "h": 110.2
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#777817
secondary
#3F3EAD
accent
#3DEB3F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777817

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

Preview Lab → · Contrast checker → · Palette generator →

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