#786920#786920

#786920 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.093 H 97.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#786920
RGBrgb(120, 105, 32)
HSLhsl(50, 58%, 30%)
HSVhsv(50, 73%, 47%)
CMYKcmyk(0%, 12.5%, 73.3%, 52.9%)
CIE-LABlab(44.52, -2.86, 41.24)
CIE-LCHlch(44.52, 41.34, 93.97°)
OKLaboklab(52.08% -0.0118 0.092)
OKLCHoklch(52.08% 0.093 97.3)
XYZxyz(13.0586, 14.2012, 3.4195)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786920 #202F78
analogous
#783D20 #786920 #5B7820
triadic
#786920 #207869 #692078
tetradic
#786920 #20783D #202F78 #78205B
square
#786920 #20783D #202F78 #78205B
split-complementary
#786920 #205B78 #3D2078
monochromatic
#181506 #483F13 #786920 #A8932D #CDB645

Accessibility & contrast

On white

5.47
#786920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#786920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786920
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786920#FFFFFF#000000##FFFFFF
##7869201.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746615
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#82615A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #786920;
/* rgb */ color: rgb(120, 105, 32);
/* oklch */ color: oklch(52.1% 0.093 97.3);
Tailwind
colors: {
  custom: {
    50: '#a29360',
    500: '#786920',
    950: '#000000',
  },
}
SCSS
$custom: #786920;
$custom-light: #a29360;
$custom-dark: #000000;
JSON
{
  "hex": "#786920",
  "rgb": {
    "r": 120,
    "g": 105,
    "b": 32
  },
  "hsl": {
    "h": 49.773,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.09273,
    "h": 97.3
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#786920
secondary
#4859AB
accent
#61E147
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786920

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

Preview Lab → · Contrast checker → · Palette generator →

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