#787C4E#787C4E

#787C4E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.066 H 112.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#787C4E
RGBrgb(120, 124, 78)
HSLhsl(65, 23%, 40%)
HSVhsv(65, 37%, 49%)
CMYKcmyk(3.2%, 0%, 37.1%, 51.4%)
CIE-LABlab(50.64, -9.28, 24.64)
CIE-LCHlch(50.64, 26.33, 110.64°)
OKLaboklab(57.12% -0.0252 0.0607)
OKLCHoklch(57.12% 0.066 112.5)
XYZxyz(16.3286, 18.9586, 10.0054)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787C4E #524E7C
analogous
#7C694E #787C4E #617C4E
triadic
#787C4E #4E787C #7C4E78
tetradic
#787C4E #4E7C69 #524E7C #7C4E61
square
#787C4E #4E7C69 #524E7C #7C4E61
split-complementary
#787C4E #4E617C #694E7C
monochromatic
#2F311F #545636 #787C4E #9BA067 #B4B78D

Accessibility & contrast

On white

4.38
#787C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#787C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #787C4E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787C4E#FFFFFF#000000##000000
##787C4E1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83784B
Deuteranopia (green-blind)
#827950
Tritanopia (blue-blind)
#7D7770
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #787c4e;
/* rgb */ color: rgb(120, 124, 78);
/* oklch */ color: oklch(57.1% 0.066 112.5);
Tailwind
colors: {
  custom: {
    50: '#a0a180',
    500: '#787c4e',
    950: '#000000',
  },
}
SCSS
$custom: #787c4e;
$custom-light: #a0a180;
$custom-dark: #000000;
JSON
{
  "hex": "#787c4e",
  "rgb": {
    "r": 120,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 65.217,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.06568,
    "h": 112.5
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#787C4E
secondary
#8582A4
accent
#69BF70
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0F0A
muted
#7E7E7C

Preview Lab

Preview with #787C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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