#787323#787323

#787323 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.4% C 0.100 H 105.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#787323
RGBrgb(120, 115, 35)
HSLhsl(56, 55%, 30%)
HSVhsv(56, 71%, 47%)
CMYKcmyk(0%, 4.2%, 70.8%, 52.9%)
CIE-LABlab(47.46, -8.37, 42.91)
CIE-LCHlch(47.46, 43.72, 101.03°)
OKLaboklab(54.42% -0.0271 0.0961)
OKLCHoklch(54.42% 0.1 105.8)
XYZxyz(14.1804, 16.3764, 4.0038)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787323 #232878
analogous
#784923 #787323 #527823
triadic
#787323 #237873 #732378
tetradic
#787323 #237849 #232878 #782352
square
#787323 #237849 #232878 #782352
split-complementary
#787323 #235278 #492378
monochromatic
#191807 #494615 #787323 #A7A031 #CAC34B

Accessibility & contrast

On white

4.91
#787323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#787323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #787323
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787323#FFFFFF#000000##FFFFFF
##7873231.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F17
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#816B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #787323;
/* rgb */ color: rgb(120, 115, 35);
/* oklch */ color: oklch(54.4% 0.100 105.8);
Tailwind
colors: {
  custom: {
    50: '#a29b63',
    500: '#787323',
    950: '#000000',
  },
}
SCSS
$custom: #787323;
$custom-light: #a29b63;
$custom-dark: #000000;
JSON
{
  "hex": "#787323",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 56.471,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54423,
    "c": 0.09981,
    "h": 105.8
  },
  "luminance": 0.16376
}

Semantic roles & 50–950 ramp

primary
#787323
secondary
#4C52AB
accent
#52DE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #787323

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

Preview Lab → · Contrast checker → · Palette generator →

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