#776817#776817

#776817 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.7% C 0.098 H 98.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#776817
RGBrgb(119, 104, 23)
HSLhsl(51, 68%, 28%)
HSVhsv(51, 81%, 47%)
CMYKcmyk(0%, 12.6%, 80.7%, 53.3%)
CIE-LABlab(44.07, -3.20, 44.39)
CIE-LCHlch(44.07, 44.50, 94.13°)
OKLaboklab(51.68% -0.0138 0.0968)
OKLCHoklch(51.68% 0.098 98.1)
XYZxyz(12.7134, 13.8851, 2.8209)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#776817 #172677
analogous
#773817 #776817 #567717
triadic
#776817 #177768 #681777
tetradic
#776817 #177738 #172677 #771756
square
#776817 #177738 #172677 #771756
split-complementary
#776817 #175677 #381777
monochromatic
#1A1605 #443B0D #776817 #AA9521 #D7BD31

Accessibility & contrast

On white

5.56
#776817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#776817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #776817
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##776817#FFFFFF#000000##FFFFFF
##7768171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#815F59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #776817;
/* rgb */ color: rgb(119, 104, 23);
/* oklch */ color: oklch(51.7% 0.098 98.1);
Tailwind
colors: {
  custom: {
    50: '#a2925c',
    500: '#776817',
    950: '#000000',
  },
}
SCSS
$custom: #776817;
$custom-light: #a2925c;
$custom-dark: #000000;
JSON
{
  "hex": "#776817",
  "rgb": {
    "r": 119,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 50.625,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.09777,
    "h": 98.1
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#776817
secondary
#3E4FAC
accent
#58EA3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #776817

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

Preview Lab → · Contrast checker → · Palette generator →

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