#786515#786515

#786515 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.1% C 0.097 H 94.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#786515
RGBrgb(120, 101, 21)
HSLhsl(48, 70%, 28%)
HSVhsv(48, 83%, 47%)
CMYKcmyk(0%, 15.8%, 82.5%, 52.9%)
CIE-LABlab(43.29, -1.07, 44.44)
CIE-LCHlch(43.29, 44.45, 91.38°)
OKLaboklab(51.08% -0.008 0.0964)
OKLCHoklch(51.08% 0.097 94.7)
XYZxyz(12.5355, 13.3553, 2.6269)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786515 #152878
analogous
#783415 #786515 #597815
triadic
#786515 #157865 #651578
tetradic
#786515 #157834 #152878 #781559
square
#786515 #157834 #152878 #781559
split-complementary
#786515 #155978 #341578
monochromatic
#1A1605 #44390C #786515 #AC911E #DAB92D

Accessibility & contrast

On white

5.72
#786515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#786515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786515
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786515#FFFFFF#000000##FFFFFF
##7865151.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#75691A
Tritanopia (blue-blind)
#825C56
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786515;
/* rgb */ color: rgb(120, 101, 21);
/* oklch */ color: oklch(51.1% 0.097 94.7);
Tailwind
colors: {
  custom: {
    50: '#a3905a',
    500: '#786515',
    950: '#000000',
  },
}
SCSS
$custom: #786515;
$custom-light: #a3905a;
$custom-dark: #000000;
JSON
{
  "hex": "#786515",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 48.485,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.09675,
    "h": 94.7
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#786515
secondary
#3B51AE
accent
#5DED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786515

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

Preview Lab → · Contrast checker → · Palette generator →

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