#787615#787615

#787615 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.0% C 0.112 H 108.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#787615
RGBrgb(120, 118, 21)
HSLhsl(59, 70%, 28%)
HSVhsv(59, 83%, 47%)
CMYKcmyk(0%, 1.7%, 82.5%, 52.9%)
CIE-LABlab(48.27, -10.70, 48.86)
CIE-LCHlch(48.27, 50.02, 102.36°)
OKLaboklab(55.04% -0.035 0.1059)
OKLCHoklch(55.04% 0.112 108.3)
XYZxyz(14.3601, 17.0046, 3.2351)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787615 #151778
analogous
#784515 #787615 #487815
triadic
#787615 #157876 #761578
tetradic
#787615 #157845 #151778 #781548
square
#787615 #157845 #151778 #781548
split-complementary
#787615 #154878 #451578
monochromatic
#1A1A05 #44430C #787615 #ACA91E #DAD72D

Accessibility & contrast

On white

4.77
#787615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#787615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787615
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787615#FFFFFF#000000##FFFFFF
##7876151.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#816E64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787615;
/* rgb */ color: rgb(120, 118, 21);
/* oklch */ color: oklch(55.0% 0.112 108.3);
Tailwind
colors: {
  custom: {
    50: '#a29d5d',
    500: '#787615',
    950: '#000000',
  },
}
SCSS
$custom: #787615;
$custom-light: #a29d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#787615",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 58.788,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.55035,
    "c": 0.11158,
    "h": 108.3
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#787615
secondary
#3B3EAE
accent
#3EED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787615

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

Preview Lab → · Contrast checker → · Palette generator →

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