#777722#777722

#777722 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.105 H 109.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#777722
RGBrgb(119, 119, 34)
HSLhsl(60, 56%, 30%)
HSVhsv(60, 71%, 47%)
CMYKcmyk(0%, 0%, 71.4%, 53.3%)
CIE-LABlab(48.55, -11.11, 44.39)
CIE-LCHlch(48.55, 45.76, 104.05°)
OKLaboklab(55.27% -0.0349 0.099)
OKLCHoklch(55.27% 0.105 109.4)
XYZxyz(14.4938, 17.2315, 4.0756)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777722 #222277
analogous
#774D22 #777722 #4D7722
triadic
#777722 #227777 #772277
tetradic
#777722 #22774D #222277 #77224D
square
#777722 #22774D #222277 #77224D
split-complementary
#777722 #224C77 #4C2277
monochromatic
#181807 #474714 #777722 #A7A730 #CBCB49

Accessibility & contrast

On white

4.72
#777722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#777722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #777722
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777722#FFFFFF#000000##FFFFFF
##7777221.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#806F66
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #777722;
/* rgb */ color: rgb(119, 119, 34);
/* oklch */ color: oklch(55.3% 0.105 109.4);
Tailwind
colors: {
  custom: {
    50: '#a19e63',
    500: '#777722',
    950: '#000000',
  },
}
SCSS
$custom: #777722;
$custom-light: #a19e63;
$custom-dark: #000000;
JSON
{
  "hex": "#777722",
  "rgb": {
    "r": 119,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.10498,
    "h": 109.4
  },
  "luminance": 0.17231
}

Semantic roles & 50–950 ramp

primary
#777722
secondary
#4B4BAA
accent
#49DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #777722

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

Preview Lab → · Contrast checker → · Palette generator →

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