#786922#786922

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

Color values

HEX#786922
RGBrgb(120, 105, 34)
HSLhsl(50, 56%, 30%)
HSVhsv(50, 72%, 47%)
CMYKcmyk(0%, 12.5%, 71.7%, 52.9%)
CIE-LABlab(44.54, -2.74, 40.38)
CIE-LCHlch(44.54, 40.47, 93.89°)
OKLaboklab(52.1% -0.0113 0.0905)
OKLCHoklch(52.1% 0.091 97.1)
XYZxyz(13.0867, 14.2124, 3.5670)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786922 #223178
analogous
#783E22 #786922 #5C7822
triadic
#786922 #227869 #692278
tetradic
#786922 #22783E #223178 #78225C
square
#786922 #22783E #223178 #78225C
split-complementary
#786922 #225C78 #3E2278
monochromatic
#191607 #483F14 #786922 #A89330 #CBB549

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786922#FFFFFF#000000##FFFFFF
##7869221.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)
#746618
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#82615A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #786922;
/* rgb */ color: rgb(120, 105, 34);
/* oklch */ color: oklch(52.1% 0.091 97.1);
Tailwind
colors: {
  custom: {
    50: '#a29361',
    500: '#786922',
    950: '#000000',
  },
}
SCSS
$custom: #786922;
$custom-light: #a29361;
$custom-dark: #000000;
JSON
{
  "hex": "#786922",
  "rgb": {
    "r": 120,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 49.535,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.09122,
    "h": 97.1
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#786922
secondary
#4B5CAB
accent
#63DF49
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #786922

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

Preview Lab → · Contrast checker → · Palette generator →

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