#786318#786318

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

Color values

HEX#786318
RGBrgb(120, 99, 24)
HSLhsl(47, 67%, 28%)
HSVhsv(47, 80%, 47%)
CMYKcmyk(0%, 17.5%, 80%, 52.9%)
CIE-LABlab(42.74, 0.22, 42.82)
CIE-LCHlch(42.74, 42.82, 89.70°)
OKLaboklab(50.65% -0.004 0.0936)
OKLCHoklch(50.65% 0.094 92.4)
XYZxyz(12.3731, 12.9834, 2.7183)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786318 #182D78
analogous
#783318 #786318 #5D7818
triadic
#786318 #187863 #631878
tetradic
#786318 #187833 #182D78 #78185D
square
#786318 #187833 #182D78 #78185D
split-complementary
#786318 #185D78 #331878
monochromatic
#1A1505 #45390E #786318 #AB8D22 #D6B334

Accessibility & contrast

On white

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

On black

3.60
#786318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##786318#FFFFFF#000000##FFFFFF
##7863181.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6109
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#825A55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #786318;
/* rgb */ color: rgb(120, 99, 24);
/* oklch */ color: oklch(50.7% 0.094 92.4);
Tailwind
colors: {
  custom: {
    50: '#a38f5b',
    500: '#786318',
    950: '#000000',
  },
}
SCSS
$custom: #786318;
$custom-light: #a38f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#786318",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 46.875,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50651,
    "c": 0.0937,
    "h": 92.4
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#786318
secondary
#3F57AD
accent
#64EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #786318

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

Preview Lab → · Contrast checker → · Palette generator →

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