#777216#777216

#777216 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.0% C 0.107 H 106.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#777216
RGBrgb(119, 114, 22)
HSLhsl(57, 69%, 28%)
HSVhsv(57, 82%, 47%)
CMYKcmyk(0%, 4.2%, 81.5%, 53.3%)
CIE-LABlab(46.99, -8.92, 47.38)
CIE-LCHlch(46.99, 48.21, 100.66°)
OKLaboklab(54% -0.0299 0.103)
OKLCHoklch(54% 0.107 106.2)
XYZxyz(13.7705, 16.0150, 3.1247)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777216 #161B77
analogous
#774116 #777216 #4C7716
triadic
#777216 #167772 #721677
tetradic
#777216 #167741 #161B77 #77164C
square
#777216 #167741 #161B77 #77164C
split-complementary
#777216 #164C77 #411677
monochromatic
#1A1905 #43410C #777216 #ABA320 #D9D02F

Accessibility & contrast

On white

5.00
#777216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#777216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #777216
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##777216#FFFFFF#000000##FFFFFF
##7772161.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7F711E
Tritanopia (blue-blind)
#806A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #777216;
/* rgb */ color: rgb(119, 114, 22);
/* oklch */ color: oklch(54.0% 0.107 106.2);
Tailwind
colors: {
  custom: {
    50: '#a29a5c',
    500: '#777216',
    950: '#000000',
  },
}
SCSS
$custom: #777216;
$custom-light: #a29a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#777216",
  "rgb": {
    "r": 119,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 56.907,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54,
    "c": 0.10726,
    "h": 106.2
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#777216
secondary
#3C42AC
accent
#45EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #777216

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

Preview Lab → · Contrast checker → · Palette generator →

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