#786820#786820

#786820 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.8% C 0.092 H 96.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#786820
RGBrgb(120, 104, 32)
HSLhsl(49, 58%, 30%)
HSVhsv(49, 73%, 47%)
CMYKcmyk(0%, 13.3%, 73.3%, 52.9%)
CIE-LABlab(44.23, -2.28, 40.95)
CIE-LCHlch(44.23, 41.02, 93.19°)
OKLaboklab(51.85% -0.0102 0.0914)
OKLCHoklch(51.85% 0.092 96.4)
XYZxyz(12.9574, 13.9987, 3.3857)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786820 #203078
analogous
#783C20 #786820 #5C7820
triadic
#786820 #207868 #682078
tetradic
#786820 #20783C #203078 #78205C
square
#786820 #20783C #203078 #78205C
split-complementary
#786820 #205C78 #3C2078
monochromatic
#181506 #483E13 #786820 #A8922D #CDB545

Accessibility & contrast

On white

5.53
#786820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#786820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786820
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786820#FFFFFF#000000##FFFFFF
##7868201.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736616
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#826059
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #786820;
/* rgb */ color: rgb(120, 104, 32);
/* oklch */ color: oklch(51.8% 0.092 96.4);
Tailwind
colors: {
  custom: {
    50: '#a29260',
    500: '#786820',
    950: '#000000',
  },
}
SCSS
$custom: #786820;
$custom-light: #a29260;
$custom-dark: #000000;
JSON
{
  "hex": "#786820",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 49.091,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51849,
    "c": 0.09192,
    "h": 96.4
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#786820
secondary
#485AAB
accent
#63E147
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0D05
muted
#7F7D79

Preview Lab

Preview with #786820

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

Preview Lab → · Contrast checker → · Palette generator →

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