#776B20#776B20

#776B20 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.4% C 0.094 H 100.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#776B20
RGBrgb(119, 107, 32)
HSLhsl(52, 58%, 30%)
HSVhsv(52, 73%, 47%)
CMYKcmyk(0%, 10.1%, 73.1%, 53.3%)
CIE-LABlab(45.00, -4.48, 41.69)
CIE-LCHlch(45.00, 41.93, 96.14°)
OKLaboklab(52.43% -0.0164 0.093)
OKLCHoklch(52.43% 0.094 100)
XYZxyz(13.1268, 14.5422, 3.4817)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#776B20 #202C77
analogous
#774020 #776B20 #587720
triadic
#776B20 #20776B #6B2077
tetradic
#776B20 #207740 #202C77 #772058
square
#776B20 #207740 #202C77 #772058
split-complementary
#776B20 #205877 #402077
monochromatic
#181606 #474013 #776B20 #A7962D #CDBA45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##776B20#FFFFFF#000000##FFFFFF
##776B201.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)
#766815
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#81635C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #776b20;
/* rgb */ color: rgb(119, 107, 32);
/* oklch */ color: oklch(52.4% 0.094 100.0);
Tailwind
colors: {
  custom: {
    50: '#a19561',
    500: '#776b20',
    950: '#000000',
  },
}
SCSS
$custom: #776b20;
$custom-light: #a19561;
$custom-dark: #000000;
JSON
{
  "hex": "#776b20",
  "rgb": {
    "r": 119,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 51.724,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.09438,
    "h": 100
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#776B20
secondary
#4856AA
accent
#5CE147
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #776B20

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

Preview Lab → · Contrast checker → · Palette generator →

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