#776B23#776B23

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

Color values

HEX#776B23
RGBrgb(119, 107, 35)
HSLhsl(51, 55%, 30%)
HSVhsv(51, 71%, 47%)
CMYKcmyk(0%, 10.1%, 70.6%, 53.3%)
CIE-LABlab(45.02, -4.31, 40.40)
CIE-LCHlch(45.02, 40.63, 96.09°)
OKLaboklab(52.46% -0.0155 0.0908)
OKLCHoklch(52.46% 0.092 99.7)
XYZxyz(13.1694, 14.5593, 3.7063)
Luminance0.1456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#776B23 #232F77
analogous
#774123 #776B23 #597723
triadic
#776B23 #23776B #6B2377
tetradic
#776B23 #237741 #232F77 #772359
square
#776B23 #237741 #232F77 #772359
split-complementary
#776B23 #235977 #412377
monochromatic
#181607 #484015 #776B23 #A69631 #CAB84A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##776B23#FFFFFF#000000##FFFFFF
##776B231.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)
#756819
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#80635C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #776b23;
/* rgb */ color: rgb(119, 107, 35);
/* oklch */ color: oklch(52.5% 0.092 99.7);
Tailwind
colors: {
  custom: {
    50: '#a19562',
    500: '#776b23',
    950: '#000000',
  },
}
SCSS
$custom: #776b23;
$custom-light: #a19562;
$custom-dark: #000000;
JSON
{
  "hex": "#776b23",
  "rgb": {
    "r": 119,
    "g": 107,
    "b": 35
  },
  "hsl": {
    "h": 51.429,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.0921,
    "h": 99.7
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#776B23
secondary
#4C59AA
accent
#5FDE4A
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#0F0D05
muted
#7F7E7A

Preview Lab

Preview with #776B23

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

Preview Lab → · Contrast checker → · Palette generator →

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