#777217#777217

#777217 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#777217
RGBrgb(119, 114, 23)
HSLhsl(57, 68%, 28%)
HSVhsv(57, 81%, 47%)
CMYKcmyk(0%, 4.2%, 80.7%, 53.3%)
CIE-LABlab(47.00, -8.88, 47.05)
CIE-LCHlch(47.00, 47.88, 100.69°)
OKLaboklab(54.01% -0.0297 0.1025)
OKLCHoklch(54.01% 0.107 106.2)
XYZxyz(13.7803, 16.0189, 3.1765)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#777217 #171C77
analogous
#774217 #777217 #4C7717
triadic
#777217 #177772 #721777
tetradic
#777217 #177742 #171C77 #77174C
square
#777217 #177742 #171C77 #77174C
split-complementary
#777217 #174C77 #421777
monochromatic
#1A1905 #44410D #777217 #AAA321 #D7CF31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##777217#FFFFFF#000000##FFFFFF
##7772171.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)
#7D6D01
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#806A61
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #777217;
/* rgb */ color: rgb(119, 114, 23);
/* oklch */ color: oklch(54.0% 0.107 106.2);
Tailwind
colors: {
  custom: {
    50: '#a29a5d',
    500: '#777217',
    950: '#000000',
  },
}
SCSS
$custom: #777217;
$custom-light: #a29a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#777217",
  "rgb": {
    "r": 119,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 56.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.10672,
    "h": 106.2
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#777217
secondary
#3E43AC
accent
#46EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #777217

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

Preview Lab → · Contrast checker → · Palette generator →

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