#786523#786523

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

Color values

HEX#786523
RGBrgb(120, 101, 35)
HSLhsl(47, 55%, 30%)
HSVhsv(47, 71%, 47%)
CMYKcmyk(0%, 15.8%, 70.8%, 52.9%)
CIE-LABlab(43.39, -0.36, 38.74)
CIE-LCHlch(43.39, 38.74, 90.54°)
OKLaboklab(51.19% -0.0043 0.0872)
OKLCHoklch(51.19% 0.087 92.8)
XYZxyz(12.7034, 13.4225, 3.5115)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786523 #233678
analogous
#783A23 #786523 #607823
triadic
#786523 #237865 #652378
tetradic
#786523 #23783A #233678 #782360
square
#786523 #23783A #233678 #782360
split-complementary
#786523 #236078 #3A2378
monochromatic
#191507 #493D15 #786523 #A78D31 #CAAE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786523#FFFFFF#000000##FFFFFF
##7865231.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)
#70631B
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#825D57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #786523;
/* rgb */ color: rgb(120, 101, 35);
/* oklch */ color: oklch(51.2% 0.087 92.8);
Tailwind
colors: {
  custom: {
    50: '#a29062',
    500: '#786523',
    950: '#000000',
  },
}
SCSS
$custom: #786523;
$custom-light: #a29062;
$custom-dark: #000000;
JSON
{
  "hex": "#786523",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 35
  },
  "hsl": {
    "h": 46.588,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.08735,
    "h": 92.8
  },
  "luminance": 0.13422
}

Semantic roles & 50–950 ramp

primary
#786523
secondary
#4C61AB
accent
#6BDE4A
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #786523

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

Preview Lab → · Contrast checker → · Palette generator →

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