#786415#786415

#786415 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.9% C 0.096 H 93.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#786415
RGBrgb(120, 100, 21)
HSLhsl(48, 70%, 28%)
HSVhsv(48, 83%, 47%)
CMYKcmyk(0%, 16.7%, 82.5%, 52.9%)
CIE-LABlab(43.01, -0.48, 44.18)
CIE-LCHlch(43.01, 44.18, 90.63°)
OKLaboklab(50.86% -0.0063 0.0959)
OKLCHoklch(50.86% 0.096 93.8)
XYZxyz(12.4390, 13.1623, 2.5947)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786415 #152978
analogous
#783315 #786415 #5A7815
triadic
#786415 #157864 #641578
tetradic
#786415 #157833 #152978 #78155A
square
#786415 #157833 #152978 #78155A
split-complementary
#786415 #155A78 #331578
monochromatic
#1A1605 #44390C #786415 #AC8F1E #DAB72D

Accessibility & contrast

On white

5.78
#786415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#786415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786415
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786415#FFFFFF#000000##FFFFFF
##7864151.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706203
Deuteranopia (green-blind)
#75681A
Tritanopia (blue-blind)
#825B55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786415;
/* rgb */ color: rgb(120, 100, 21);
/* oklch */ color: oklch(50.9% 0.096 93.8);
Tailwind
colors: {
  custom: {
    50: '#a38f5a',
    500: '#786415',
    950: '#000000',
  },
}
SCSS
$custom: #786415;
$custom-light: #a38f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#786415",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 47.879,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.09608,
    "h": 93.8
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#786415
secondary
#3B52AE
accent
#5FED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786415

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

Preview Lab → · Contrast checker → · Palette generator →

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