#777828#777828

#777828 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.102 H 110.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#777828
RGBrgb(119, 120, 40)
HSLhsl(61, 50%, 31%)
HSVhsv(61, 67%, 47%)
CMYKcmyk(0.8%, 0%, 66.7%, 52.9%)
CIE-LABlab(48.89, -11.28, 42.17)
CIE-LCHlch(48.89, 43.65, 104.98°)
OKLaboklab(55.56% -0.0347 0.0954)
OKLCHoklch(55.56% 0.102 110)
XYZxyz(14.7077, 17.5085, 4.6118)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777828 #292878
analogous
#785128 #777828 #4F7828
triadic
#777828 #287778 #782877
tetradic
#777828 #287851 #292878 #78284F
square
#777828 #287851 #292878 #78284F
split-complementary
#777828 #284F78 #512878
monochromatic
#1C1C09 #494A19 #777828 #A5A637 #C5C654

Accessibility & contrast

On white

4.67
#777828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#777828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #777828
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777828#FFFFFF#000000##FFFFFF
##7778281.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731D
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#7F7068
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #777828;
/* rgb */ color: rgb(119, 120, 40);
/* oklch */ color: oklch(55.6% 0.102 110.0);
Tailwind
colors: {
  custom: {
    50: '#a19e66',
    500: '#777828',
    950: '#000000',
  },
}
SCSS
$custom: #777828;
$custom-light: #a19e66;
$custom-dark: #000000;
JSON
{
  "hex": "#777828",
  "rgb": {
    "r": 119,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 60.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55555,
    "c": 0.1015,
    "h": 110
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

primary
#777828
secondary
#5352AA
accent
#4EDA50
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #777828

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

Preview Lab → · Contrast checker → · Palette generator →

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