#786715#786715

#786715 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.098 H 96.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#786715
RGBrgb(120, 103, 21)
HSLhsl(50, 70%, 28%)
HSVhsv(50, 83%, 47%)
CMYKcmyk(0%, 14.2%, 82.5%, 52.9%)
CIE-LABlab(43.87, -2.23, 44.96)
CIE-LCHlch(43.87, 45.01, 92.84°)
OKLaboklab(51.54% -0.0113 0.0975)
OKLCHoklch(51.54% 0.098 96.6)
XYZxyz(12.7320, 13.7484, 2.6924)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786715 #152678
analogous
#783515 #786715 #577815
triadic
#786715 #157867 #671578
tetradic
#786715 #157835 #152678 #781557
square
#786715 #157835 #152678 #781557
split-complementary
#786715 #155778 #351578
monochromatic
#1A1605 #443A0C #786715 #AC941E #DABD2D

Accessibility & contrast

On white

5.60
#786715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#786715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786715
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786715#FFFFFF#000000##FFFFFF
##7867151.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726502
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#825E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #786715;
/* rgb */ color: rgb(120, 103, 21);
/* oklch */ color: oklch(51.5% 0.098 96.6);
Tailwind
colors: {
  custom: {
    50: '#a3925a',
    500: '#786715',
    950: '#000000',
  },
}
SCSS
$custom: #786715;
$custom-light: #a3925a;
$custom-dark: #000000;
JSON
{
  "hex": "#786715",
  "rgb": {
    "r": 120,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 49.697,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.09819,
    "h": 96.6
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#786715
secondary
#3B4FAE
accent
#59ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786715

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

Preview Lab → · Contrast checker → · Palette generator →

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