#787718#787718

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

Color values

HEX#787718
RGBrgb(120, 119, 24)
HSLhsl(59, 67%, 28%)
HSVhsv(59, 80%, 47%)
CMYKcmyk(0%, 0.8%, 80%, 52.9%)
CIE-LABlab(48.58, -11.14, 48.18)
CIE-LCHlch(48.58, 49.45, 103.02°)
OKLaboklab(55.29% -0.036 0.1051)
OKLCHoklch(55.29% 0.111 108.9)
XYZxyz(14.5080, 17.2531, 3.4299)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787718 #181978
analogous
#784718 #787718 #497818
triadic
#787718 #187877 #771878
tetradic
#787718 #187847 #181978 #781849
square
#787718 #187847 #181978 #781849
split-complementary
#787718 #184978 #471878
monochromatic
#1A1905 #45440E #787718 #ABAA22 #D6D534

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787718#FFFFFF#000000##FFFFFF
##7877181.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)
#837520
Tritanopia (blue-blind)
#816F65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787718;
/* rgb */ color: rgb(120, 119, 24);
/* oklch */ color: oklch(55.3% 0.111 108.9);
Tailwind
colors: {
  custom: {
    50: '#a29e5e',
    500: '#787718',
    950: '#000000',
  },
}
SCSS
$custom: #787718;
$custom-light: #a29e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#787718",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 59.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.11106,
    "h": 108.9
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#787718
secondary
#3F40AD
accent
#40EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787718

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

Preview Lab → · Contrast checker → · Palette generator →

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