#787717#787717

#787717 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.112 H 108.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#787717
RGBrgb(120, 119, 23)
HSLhsl(59, 68%, 28%)
HSVhsv(59, 81%, 47%)
CMYKcmyk(0%, 0.8%, 80.8%, 52.9%)
CIE-LABlab(48.57, -11.18, 48.50)
CIE-LCHlch(48.57, 49.77, 102.98°)
OKLaboklab(55.28% -0.0362 0.1056)
OKLCHoklch(55.28% 0.112 108.9)
XYZxyz(14.4978, 17.2490, 3.3762)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787717 #171878
analogous
#784617 #787717 #497817
triadic
#787717 #177877 #771778
tetradic
#787717 #177846 #171878 #781749
square
#787717 #177846 #171878 #781749
split-complementary
#787717 #174978 #461778
monochromatic
#1A1905 #45440D #787717 #ABAA21 #D8D632

Accessibility & contrast

On white

4.72
#787717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#787717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787717
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787717#FFFFFF#000000##FFFFFF
##7877171.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#816F65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787717;
/* rgb */ color: rgb(120, 119, 23);
/* oklch */ color: oklch(55.3% 0.112 108.9);
Tailwind
colors: {
  custom: {
    50: '#a29e5e',
    500: '#787717',
    950: '#000000',
  },
}
SCSS
$custom: #787717;
$custom-light: #a29e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#787717",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 59.381,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55283,
    "c": 0.11159,
    "h": 108.9
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#787717
secondary
#3E3FAD
accent
#3FEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787717

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

Preview Lab → · Contrast checker → · Palette generator →

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