#787617#787617

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

Color values

HEX#787617
RGBrgb(120, 118, 23)
HSLhsl(59, 68%, 28%)
HSVhsv(59, 81%, 47%)
CMYKcmyk(0%, 1.7%, 80.8%, 52.9%)
CIE-LABlab(48.28, -10.63, 48.23)
CIE-LCHlch(48.28, 49.39, 102.43°)
OKLaboklab(55.05% -0.0347 0.105)
OKLCHoklch(55.05% 0.111 108.3)
XYZxyz(14.3794, 17.0123, 3.3367)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787617 #171978
analogous
#784517 #787617 #497817
triadic
#787617 #177876 #761778
tetradic
#787617 #177845 #171978 #781749
square
#787617 #177845 #171978 #781749
split-complementary
#787617 #174978 #451778
monochromatic
#1A1905 #45430D #787617 #ABA821 #D8D432

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##787617#FFFFFF#000000##FFFFFF
##7876171.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)
#807100
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#816E64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787617;
/* rgb */ color: rgb(120, 118, 23);
/* oklch */ color: oklch(55.0% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#a29d5d',
    500: '#787617',
    950: '#000000',
  },
}
SCSS
$custom: #787617;
$custom-light: #a29d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#787617",
  "rgb": {
    "r": 120,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 58.763,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.11056,
    "h": 108.3
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#787617
secondary
#3E40AD
accent
#41EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #787617

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

Preview Lab → · Contrast checker → · Palette generator →

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