#787C5E#787C5E

#787C5E is a mid, muted yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.044 H 114.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#787C5E
RGBrgb(120, 124, 94)
HSLhsl(68, 14%, 43%)
HSVhsv(68, 24%, 49%)
CMYKcmyk(3.2%, 0%, 24.2%, 51.4%)
CIE-LABlab(50.94, -6.97, 15.93)
CIE-LCHlch(50.94, 17.38, 113.63°)
OKLaboklab(57.46% -0.018 0.0404)
OKLCHoklch(57.46% 0.044 114)
XYZxyz(16.9736, 19.2167, 13.4025)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C5E #625E7C
analogous
#7C715E #787C5E #697C5E
triadic
#787C5E #5E787C #7C5E78
tetradic
#787C5E #5E7C71 #625E7C #7C5E69
square
#787C5E #5E7C71 #625E7C #7C5E69
split-complementary
#787C5E #5E697C #715E7C
monochromatic
#353629 #565944 #787C5E #979B7C #B3B69F

Accessibility & contrast

On white

4.34
#787C5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#787C5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C5E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C5E#FFFFFF#000000##000000
##787C5E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81795C
Deuteranopia (green-blind)
#807A5F
Tritanopia (blue-blind)
#7C7874
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787c5e;
/* rgb */ color: rgb(120, 124, 94);
/* oklch */ color: oklch(57.5% 0.044 114.0);
Tailwind
colors: {
  custom: {
    50: '#9fa18b',
    500: '#787c5e',
    950: '#000000',
  },
}
SCSS
$custom: #787c5e;
$custom-light: #9fa18b;
$custom-dark: #000000;
JSON
{
  "hex": "#787c5e",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 94
  },
  "hsl": {
    "h": 68,
    "s": 13.761,
    "l": 42.745
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.04423,
    "h": 114
  },
  "luminance": 0.19217
}

Semantic roles & 50–950 ramp

primary
#787C5E
secondary
#9491A5
accent
#71B77A
background
#F9F9F8
surface
#F2F2F0
border
#CCCCCB
text
#0E0F0C
muted
#7E7E7D

Preview Lab

Preview with #787C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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