#786617#786617

#786617 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.3% C 0.096 H 95.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#786617
RGBrgb(120, 102, 23)
HSLhsl(49, 68%, 28%)
HSVhsv(49, 81%, 47%)
CMYKcmyk(0%, 15%, 80.8%, 52.9%)
CIE-LABlab(43.59, -1.57, 43.99)
CIE-LCHlch(43.59, 44.02, 92.04°)
OKLaboklab(51.32% -0.0092 0.0959)
OKLCHoklch(51.32% 0.096 95.5)
XYZxyz(12.6524, 13.5584, 2.7610)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786617 #172978
analogous
#783517 #786617 #597817
triadic
#786617 #177866 #661778
tetradic
#786617 #177835 #172978 #781759
square
#786617 #177835 #172978 #781759
split-complementary
#786617 #175978 #351778
monochromatic
#1A1605 #453A0D #786617 #AB9221 #D8B932

Accessibility & contrast

On white

5.66
#786617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#786617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786617
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786617#FFFFFF#000000##FFFFFF
##7866171.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726406
Deuteranopia (green-blind)
#76691C
Tritanopia (blue-blind)
#825D57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #786617;
/* rgb */ color: rgb(120, 102, 23);
/* oklch */ color: oklch(51.3% 0.096 95.5);
Tailwind
colors: {
  custom: {
    50: '#a3915b',
    500: '#786617',
    950: '#000000',
  },
}
SCSS
$custom: #786617;
$custom-light: #a3915b;
$custom-dark: #000000;
JSON
{
  "hex": "#786617",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 48.866,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51324,
    "c": 0.09634,
    "h": 95.5
  },
  "luminance": 0.13558
}

Semantic roles & 50–950 ramp

primary
#786617
secondary
#3E52AD
accent
#5DEB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786617

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

Preview Lab → · Contrast checker → · Palette generator →

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