#787C53#787C53

#787C53 is a mid, muted yellow. Relative luminance 0.190; OKLCH L 57.2% C 0.059 H 112.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#787C53
RGBrgb(120, 124, 83)
HSLhsl(66, 20%, 41%)
HSVhsv(66, 33%, 49%)
CMYKcmyk(3.2%, 0%, 33.1%, 51.4%)
CIE-LABlab(50.73, -8.60, 21.94)
CIE-LCHlch(50.73, 23.56, 111.42°)
OKLaboklab(57.22% -0.0229 0.0546)
OKLCHoklch(57.22% 0.059 112.8)
XYZxyz(16.5148, 19.0331, 10.9857)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C53 #57537C
analogous
#7C6B53 #787C53 #637C53
triadic
#787C53 #53787C #7C5378
tetradic
#787C53 #537C6B #57537C #7C5363
square
#787C53 #537C6B #57537C #7C5363
split-complementary
#787C53 #53637C #6B537C
monochromatic
#313322 #55573A #787C53 #999E6E #B3B793

Accessibility & contrast

On white

4.37
#787C53 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#787C53 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C53
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C53#FFFFFF#000000##000000
##787C531.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827850
Deuteranopia (green-blind)
#827955
Tritanopia (blue-blind)
#7D7771
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787c53;
/* rgb */ color: rgb(120, 124, 83);
/* oklch */ color: oklch(57.2% 0.059 112.8);
Tailwind
colors: {
  custom: {
    50: '#9fa184',
    500: '#787c53',
    950: '#000000',
  },
}
SCSS
$custom: #787c53;
$custom-light: #9fa184;
$custom-dark: #000000;
JSON
{
  "hex": "#787c53",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 83
  },
  "hsl": {
    "h": 65.854,
    "s": 19.807,
    "l": 40.588
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.05918,
    "h": 112.8
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#787C53
secondary
#8A87A4
accent
#6BBC73
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0E0F0A
muted
#7E7E7C

Preview Lab

Preview with #787C53

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

Preview Lab → · Contrast checker → · Palette generator →

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