#787B53#787B53

#787B53 is a mid, muted yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.058 H 111.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#787B53
RGBrgb(120, 123, 83)
HSLhsl(65, 19%, 40%)
HSVhsv(65, 33%, 48%)
CMYKcmyk(2.4%, 0%, 32.5%, 51.8%)
CIE-LABlab(50.43, -8.05, 21.55)
CIE-LCHlch(50.43, 23.00, 110.48°)
OKLaboklab(56.99% -0.0213 0.0536)
OKLCHoklch(56.99% 0.058 111.7)
XYZxyz(16.3901, 18.7837, 10.9441)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787B53 #56537B
analogous
#7B6A53 #787B53 #647B53
triadic
#787B53 #53787B #7B5378
tetradic
#787B53 #537B6A #56537B #7B5364
square
#787B53 #537B6A #56537B #7B5364
split-complementary
#787B53 #53647B #6A537B
monochromatic
#313222 #54563A #787B53 #9A9D6E #B3B693

Accessibility & contrast

On white

4.41
#787B53 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#787B53 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787B53
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787B53#FFFFFF#000000##000000
##787B531.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#817750
Deuteranopia (green-blind)
#817955
Tritanopia (blue-blind)
#7D7671
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #787b53;
/* rgb */ color: rgb(120, 123, 83);
/* oklch */ color: oklch(57.0% 0.058 111.7);
Tailwind
colors: {
  custom: {
    50: '#9fa183',
    500: '#787b53',
    950: '#000000',
  },
}
SCSS
$custom: #787b53;
$custom-light: #9fa183;
$custom-dark: #000000;
JSON
{
  "hex": "#787b53",
  "rgb": {
    "r": 120,
    "g": 123,
    "b": 83
  },
  "hsl": {
    "h": 64.5,
    "s": 19.417,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56986,
    "c": 0.05773,
    "h": 111.7
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#787B53
secondary
#8986A3
accent
#6CBC72
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0E0A
muted
#7E7E7C

Preview Lab

Preview with #787B53

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

Preview Lab → · Contrast checker → · Palette generator →

#787B53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva