#786830#786830

#786830 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.078 H 93.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#786830
RGBrgb(120, 104, 48)
HSLhsl(47, 43%, 33%)
HSVhsv(47, 60%, 47%)
CMYKcmyk(0%, 13.3%, 60%, 52.9%)
CIE-LABlab(44.39, -1.16, 33.36)
CIE-LCHlch(44.39, 33.38, 92.00°)
OKLaboklab(52.02% -0.0049 0.0778)
OKLCHoklch(52.02% 0.078 93.6)
XYZxyz(13.2301, 14.1077, 4.8219)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786830 #304078
analogous
#784430 #786830 #647830
triadic
#786830 #307868 #683078
tetradic
#786830 #307844 #304078 #783064
square
#786830 #307844 #304078 #783064
split-complementary
#786830 #306478 #443078
monochromatic
#211C0D #4C421F #786830 #A48E41 #C0AB62

Accessibility & contrast

On white

5.50
#786830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#786830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786830
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786830#FFFFFF#000000##FFFFFF
##7868301.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662B
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#81615B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #786830;
/* rgb */ color: rgb(120, 104, 48);
/* oklch */ color: oklch(52.0% 0.078 93.6);
Tailwind
colors: {
  custom: {
    50: '#a1926a',
    500: '#786830',
    950: '#000000',
  },
}
SCSS
$custom: #786830;
$custom-light: #a1926a;
$custom-dark: #000000;
JSON
{
  "hex": "#786830",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 46.667,
    "s": 42.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.07792,
    "h": 93.6
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#786830
secondary
#5C6DA7
accent
#71D355
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#0F0D06
muted
#7F7D7A

Preview Lab

Preview with #786830

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

Preview Lab → · Contrast checker → · Palette generator →

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