#777B22#777B22

#777B22 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.109 H 112.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#777B22
RGBrgb(119, 123, 34)
HSLhsl(63, 57%, 31%)
HSVhsv(63, 72%, 48%)
CMYKcmyk(3.3%, 0%, 72.4%, 51.8%)
CIE-LABlab(49.74, -13.29, 45.57)
CIE-LCHlch(49.74, 47.47, 106.26°)
OKLaboklab(56.22% -0.041 0.1015)
OKLCHoklch(56.22% 0.109 112)
XYZxyz(14.9799, 18.2037, 4.2376)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777B22 #26227B
analogous
#7B5222 #777B22 #4A7B22
triadic
#777B22 #22777B #7B2277
tetradic
#777B22 #227B52 #26227B #7B224A
square
#777B22 #227B52 #26227B #7B224A
split-complementary
#777B22 #224A7B #52227B
monochromatic
#1A1B07 #494B15 #777B22 #A5AB2F #C7CD4A

Accessibility & contrast

On white

4.53
#777B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#777B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #777B22
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777B22#FFFFFF#000000##000000
##777B221.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857513
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#7F7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #777b22;
/* rgb */ color: rgb(119, 123, 34);
/* oklch */ color: oklch(56.2% 0.109 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a163',
    500: '#777b22',
    950: '#000000',
  },
}
SCSS
$custom: #777b22;
$custom-light: #a1a163;
$custom-dark: #000000;
JSON
{
  "hex": "#777b22",
  "rgb": {
    "r": 119,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 62.697,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.10947,
    "h": 112
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

primary
#777B22
secondary
#4F4BAE
accent
#48E04F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #777B22

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

Preview Lab → · Contrast checker → · Palette generator →

#777B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva