#786315#786315

#786315 is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.6% C 0.095 H 92.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#786315
RGBrgb(120, 99, 21)
HSLhsl(47, 70%, 28%)
HSVhsv(47, 83%, 47%)
CMYKcmyk(0%, 17.5%, 82.5%, 52.9%)
CIE-LABlab(42.72, 0.10, 43.92)
CIE-LCHlch(42.72, 43.92, 89.87°)
OKLaboklab(50.63% -0.0047 0.0953)
OKLCHoklch(50.63% 0.095 92.8)
XYZxyz(12.3436, 12.9716, 2.5629)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786315 #152A78
analogous
#783215 #786315 #5B7815
triadic
#786315 #157863 #631578
tetradic
#786315 #157832 #152A78 #78155B
square
#786315 #157832 #152A78 #78155B
split-complementary
#786315 #155B78 #321578
monochromatic
#1A1505 #44380C #786315 #AC8E1E #DAB62D

Accessibility & contrast

On white

5.84
#786315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#786315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786315
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786315#FFFFFF#000000##FFFFFF
##7863151.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6104
Deuteranopia (green-blind)
#74671A
Tritanopia (blue-blind)
#825A54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #786315;
/* rgb */ color: rgb(120, 99, 21);
/* oklch */ color: oklch(50.6% 0.095 92.8);
Tailwind
colors: {
  custom: {
    50: '#a38f5a',
    500: '#786315',
    950: '#000000',
  },
}
SCSS
$custom: #786315;
$custom-light: #a38f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#786315",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 47.273,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50631,
    "c": 0.09542,
    "h": 92.8
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#786315
secondary
#3B53AE
accent
#61ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786315

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

Preview Lab → · Contrast checker → · Palette generator →

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