#776B22#776B22

#776B22 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.5% C 0.093 H 99.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#776B22
RGBrgb(119, 107, 34)
HSLhsl(52, 56%, 30%)
HSVhsv(52, 71%, 47%)
CMYKcmyk(0%, 10.1%, 71.4%, 53.3%)
CIE-LABlab(45.02, -4.37, 40.84)
CIE-LCHlch(45.02, 41.07, 96.11°)
OKLaboklab(52.45% -0.0158 0.0915)
OKLCHoklch(52.45% 0.093 99.8)
XYZxyz(13.1548, 14.5534, 3.6292)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#776B22 #222E77
analogous
#774022 #776B22 #597722
triadic
#776B22 #22776B #6B2277
tetradic
#776B22 #227740 #222E77 #772259
square
#776B22 #227740 #222E77 #772259
split-complementary
#776B22 #225977 #402277
monochromatic
#181507 #474014 #776B22 #A79630 #CBB849

Accessibility & contrast

On white

5.37
#776B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#776B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #776B22
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##776B22#FFFFFF#000000##FFFFFF
##776B221.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766818
Deuteranopia (green-blind)
#796C26
Tritanopia (blue-blind)
#80635C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #776b22;
/* rgb */ color: rgb(119, 107, 34);
/* oklch */ color: oklch(52.5% 0.093 99.8);
Tailwind
colors: {
  custom: {
    50: '#a19562',
    500: '#776b22',
    950: '#000000',
  },
}
SCSS
$custom: #776b22;
$custom-light: #a19562;
$custom-dark: #000000;
JSON
{
  "hex": "#776b22",
  "rgb": {
    "r": 119,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 51.529,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.09288,
    "h": 99.8
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#776B22
secondary
#4B58AA
accent
#5EDF49
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #776B22

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

Preview Lab → · Contrast checker → · Palette generator →

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