#787715#787715

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

Color values

HEX#787715
RGBrgb(120, 119, 21)
HSLhsl(59, 70%, 28%)
HSVhsv(59, 83%, 47%)
CMYKcmyk(0%, 0.8%, 82.5%, 52.9%)
CIE-LABlab(48.56, -11.25, 49.12)
CIE-LCHlch(48.56, 50.39, 102.91°)
OKLaboklab(55.27% -0.0366 0.1065)
OKLCHoklch(55.27% 0.113 109)
XYZxyz(14.4785, 17.2413, 3.2746)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787715 #151678
analogous
#784515 #787715 #477815
triadic
#787715 #157877 #771578
tetradic
#787715 #157845 #151678 #781547
square
#787715 #157845 #151678 #781547
split-complementary
#787715 #154778 #451578
monochromatic
#1A1A05 #44430C #787715 #ACAB1E #DAD92D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787715#FFFFFF#000000##FFFFFF
##7877151.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)
#83751E
Tritanopia (blue-blind)
#816F65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787715;
/* rgb */ color: rgb(120, 119, 21);
/* oklch */ color: oklch(55.3% 0.113 109.0);
Tailwind
colors: {
  custom: {
    50: '#a29e5d',
    500: '#787715',
    950: '#000000',
  },
}
SCSS
$custom: #787715;
$custom-light: #a29e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#787715",
  "rgb": {
    "r": 120,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 59.394,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.1126,
    "h": 109
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#787715
secondary
#3B3CAE
accent
#3DED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787715

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

Preview Lab → · Contrast checker → · Palette generator →

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