#786522#786522

#786522 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.2% C 0.088 H 93.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#786522
RGBrgb(120, 101, 34)
HSLhsl(47, 56%, 30%)
HSVhsv(47, 72%, 47%)
CMYKcmyk(0%, 15.8%, 71.7%, 52.9%)
CIE-LABlab(43.38, -0.42, 39.20)
CIE-LCHlch(43.38, 39.20, 90.62°)
OKLaboklab(51.18% -0.0046 0.088)
OKLCHoklch(51.18% 0.088 93)
XYZxyz(12.6888, 13.4166, 3.4344)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786522 #223578
analogous
#783A22 #786522 #607822
triadic
#786522 #227865 #652278
tetradic
#786522 #22783A #223578 #782260
square
#786522 #22783A #223578 #782260
split-complementary
#786522 #226078 #3A2278
monochromatic
#191507 #483D14 #786522 #A88D30 #CBAF49

Accessibility & contrast

On white

5.70
#786522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#786522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786522
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786522#FFFFFF#000000##FFFFFF
##7865221.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706319
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#825D57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786522;
/* rgb */ color: rgb(120, 101, 34);
/* oklch */ color: oklch(51.2% 0.088 93.0);
Tailwind
colors: {
  custom: {
    50: '#a29061',
    500: '#786522',
    950: '#000000',
  },
}
SCSS
$custom: #786522;
$custom-light: #a29061;
$custom-dark: #000000;
JSON
{
  "hex": "#786522",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 34
  },
  "hsl": {
    "h": 46.744,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51184,
    "c": 0.08814,
    "h": 93
  },
  "luminance": 0.13416
}

Semantic roles & 50–950 ramp

primary
#786522
secondary
#4B60AB
accent
#6ADF49
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #786522

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

Preview Lab → · Contrast checker → · Palette generator →

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